The setups steps expect following tools installed on the system.
- Ruby [2.5.3]
- Rails [5.2.2]
- Node
- Postgresql
git clone [email protected]:renanbona/stilingue_challenge.git
Copy the sample .database.yml.sample file and edit with your credentials.
cp config/database.yml.sample config/database.yml
bundle install
yarn install
Run the following commands to create and setup the database.
bundle exec rails db:setup
You can start the rails server using the command given below.
bundle exec rails s
And now you can visit the site with the URL http://localhost:3000
You can start run the tests with
bundle exec rspec