This is an example application for the Marley Spoon's web challenge.
Before you start, make sure you have installed the required dependencies:
- Ruby = 2.6.3
- Ruby Gems (see 'bundler' below)
-
Get the Marley Spoon source code from GitHub.
git@github.com:LucoLe/marley-spoon.git cd marley-spoon
-
Install Bundler:
gem install bundler
Note: Make sure to use local (user-install) gem store and not the system-wide.
-
Install the code dependencies
bundle install
-
This application is not using a database so it's not needed to setup a database.
-
It shouldn't be needed to configure anything but I've intentionally added the
config/master.key
file to git so you can make some changes to or inspect theconfig/credentials.yml.enc
.
Now we are ready to start the application.
All you need to do to run the application is run the following command in the terminal:
bin/rails server
To start the tests, run:
bin/rspec
or
bundle exec rspec