Social gaming checkins.
Contact us at: [email protected]
- Ruby 2.7.5
- Rails 5.1
- Postgres 9.6
- Redis
$ git clone [email protected]:ollej/playnit.git
$ cd playnit
$ bundle install
$ rails s
- Install dokku as per its instructions.
- Install redis plugin
- Install postgresql plugin
$ git remote add dokku [email protected]:playnit
$ git push dokku master
$ ssh -t example.com dokku config:set DEVISE_SECRET_KEY="`rake secret`"
$ ssh -t example.com dokku config:set SECRET_TOKEN="`rake secret`"
$ ssh -t example.com dokku redis:create playnit
$ ssh -t example.com dokku postgresql:create playnit
$ ssh -t example.com dokku postgresql:link playnit playnit
$ ssh -t example.com dokku redis:link playnit playnit
$ ssh -t example.com dokku run playnit rake db:migrate
Start postgres
/usr/local/opt/[email protected]/bin/pg_ctl -D /usr/local/var/postgresql start