- You will need Ruby installed on your development machine. Ruby 2.4 or 2.5 should both work fine.
- Check version with
ruby -v
- Check version with
- We’ll be using git (install if you don’t already have it)
- For those who are unfamiliar with git & reading these notes in retrospect, please send me a DM and we’ll figure out the best way for you to get comfortable with basic commands or an IDE.
- Clone the repository
- Navigate to your project directory in cmd, git bash
- Run a
gem install bundler
- Run a
bundle install
- If both (5) and (6) succeed, you’ll be good to run
bundle exec jekyll serve --port 4000
(you don’t need the --port 4000, but this option allows you to specify the port on which the site will run locally for you.)- To test out SSE web api features on staging run
bundle exec jekyll serve --config _config.yml,_config_staging.yml
- To test our SSE web api features while running the api locally run
bundle exec jekyll serve --config _config.yml,_config_local.yml
- To test out SSE web api features on staging run
- You should be able to run the website locally now!
- Checkout our backlog under "Projects" and "Website Re-Design" to find items to work on.
There are checks that will be performed whenever Pull Requests are opened. To save time on the build server, please run the tests locally to check for errors that will occur in the CI builds.
- To run Rubocop, run the command
bundle exec rubocop -R