Skip to content

Sam-Killgallon/board-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Board Games

Web app for organising board game events

Setup

  • 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
  • Visit localhost:3000 and log in!
  • Shutdown the app when finished docker-compose down

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •