git clone git@github.com:pantaubersama/Auth.git
- setup your database (postgresql)
- create env variable files (.env.development , .env.test) from env.example
$ bundle install
$ rails db:create db:migrate seed:migrate
$ rails s -p 4000
- go to
http://localhost:4000/doc
Check it out in your .env.development
Username : admin
Password : admin
- run
rake db:test:prepare
- run
rake seed:migrate MIGRATION=20190127053507_seed_default_user.rb RAILS_ENV=test
- run
rspec