$ git clone https://github.com/hafeez84/sp-project.git
$ bundle install
$ bundle exec figaro install
$ mysql -u [username] -p
Enter your password and
-mysql> create database sp_project_development; or sp_project_test; or sp_project_production;
create the database according to your enviroment.
-Update config/application.yml and config/database.yml file.
$ rails db:migrate
$ rails routes
And finally
$ rails s
- Test
you must already have created sp_project_test database to run this command !
$ rspec