Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.6+ 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
You can’t perform that action at this time.