Skip to content

Nimble-Momonga/demo.activeadmin.info

This branch is 807 commits behind activeadmin/demo.activeadmin.info:main.

Folders and files

NameName
Last commit message
Last commit date
Jan 18, 2019
Jan 19, 2019
Dec 28, 2014
Nov 18, 2018
Oct 30, 2018
May 1, 2017
Dec 28, 2014
Aug 9, 2018
Oct 30, 2018
Jun 10, 2017
Dec 28, 2014
Oct 30, 2018
Jan 22, 2017
Oct 30, 2018
Oct 30, 2018
Jan 22, 2019
Jan 24, 2019
Dec 3, 2013
Nov 7, 2018
Dec 28, 2014
Jan 21, 2019
Dec 28, 2014

Repository files navigation

The Active Admin Store

Travis CI

This is a test application to demo Active Admin.

http://demo.activeadmin.info

Local development setup

Dependencies: Ruby 2.5+ and PostgreSQL

  • Clone project using Git
  • Run bundle install
  • Configure database:
    • Create the DB user by running command:
      sudo -u postgres psql -c "CREATE USER demo_aa WITH CREATEDB NOCREATEROLE PASSWORD 'demo_aa'"
      
    • Export the environment to set the credentials with
      export DATABASE_USERNAME=demo_aa DATABASE_PASSWORD=demo_aa
      
    • You can use direnv so that you don't need to export these environment variables every time, or change username/password in config/database.yml
  • Run command bin/rails db:setup to create database with seed data.
  • Start server: bin/rails s
  • Navigate in browser to: http://localhost:3000/admin

About

A store application to use in tutorials for Active Admin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 86.9%
  • HTML 10.3%
  • CSS 2.1%
  • JavaScript 0.7%