This README would normally document whatever steps are necessary to get the application up and running.
Start pg: $pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Things you may want to cover:
-
Ruby version: 2.3.1
-
Configuration
Environment variables you neet to set:
Email: ENV['BG_EMAIL_DOMAIN']='gmail.com' ENV['BG_EMAIL_USER']='username' ENV['BG_EMAIL_PASS']='password'
Allowed origin: ENV['BG_ALOWED_ORIGIN']='http://localhost:3001'
-
Database creation
$ rails db:create
-
Database initialization
$ rails db:migrate db:seed
-
Start Postgres
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
-
How to run the test suite
$ rspec
-
Deployment instructions( Pushing to master branch )
$ git push origin master
) will run an automatic deploy. =======
this is the end point for backgammon game