Web app for organising board game events
- Install docker
- Clone repo
- Build docker image
docker-compose build
- Install JS dependencies
docker-compose run --rm web yarn
- Setup the database
docker-compose run --rm web rails db:setup
- Run the tests
docker-compose run --rm web rspec
- Create an admin user
docker-compose run --rm web rails users:create_admin
- Start the app
docker-compose up
- (Optional) Create some fake game data
docker-compose run --rm web rails demo:generate_data
- The created user credentials are in
lib/tasks/demo.rake
- There are also individual tasks for generating subsets of data (ie users / games / game_sessions). Check in
rails -T demo
for more info
- The created user credentials are in
- Visit
localhost:3000
and log in! - Shutdown the app when finished
docker-compose down