The setups steps expect following tools installed on the system.
- Git
- Ruby 2.6.2
- Rails 6.1.4
git clone git@github.com:anjoseb121/lunchify.git
bundle install
yarn install
Run the following commands to create and setup the database.
rails db:create
rails db:migrate
Run the following commands to create sample data
rails db:seed
You can start the rails server using the command given below.
rails s
And now you can visit the site with the URL http://localhost:3000
You should be able to login with the tests users:
- admin: antonio@lunchify.com, password: password
- employee: employee@lunchify.com, password: password