- A nice starting point for your next app, preconfigured template with devise_token_auth user accounts, deployment configs, and various other boilerplate pre setup. MIT License.
- link to demo heroku app: https://calm-citadel-54256.herokuapp.com/
- Ruby version 2.7.0
- React version 16.12.0
- devise_token_auth version 1.1.3
- Axios version 0.19.2
- Postgres version 1.2.2
- $ rvm install 2.7.0 or rbenv install 2.7.0
- $ rvm use 2.7.0 or rbenv local 2.7.0
- $ bundle install
- $ rails db:create
- $ rails db:migrate
- $ cd client
- $ yarn
- $ cd ..
- $ foreman start -f Procfile.dev
-
$ heroku login
-
$ heroku apps:create
-
$ heroku buildpacks:add heroku/nodejs --index 1
-
$ heroku buildpacks:add heroku/ruby --index 2
-
$ git init
-
$ git add .
-
$ git commit -m "commit changes before deployment"
-
$ git push heroku master
-
$ heroku run rake db:migrate
-
--> visit your deployed app :)