First, fork the repository. Before working on your own ideas, make sure to check out the issues tab. If you do not see your idea there, please add it so there can be a discussion about it. When you have implemented something that you want added to the site, make a pull request and detail the changes you made. Add some people as reviewers so that they are notified of your PR.
- Install ruby if you don't have it. You can download it from here https://rubyinstaller.org/downloads/
- After the ruby installation is finished, allow the installer to get the rest of the dev items (when the terminal comes up, just hit enter)
- Navigate to the parent directory of the repo in a command prompt window, and enter these commands
gem install bundler
bundle install
- Run the server with this command
bundle exec jekyll serve
- Run this code in the parent directory of the repo to install all of the pre-reqs
sudo apt-get install ruby bundler -y
bundler install
- Run the server with this command
bundle exec jekyll serve
Note, if the Gemfile.lock is not deleted, it will override the one made by docker build
. Gemfile.lock only needs to be deleted for the Docker method.
rm Gemfile.lock
docker build -t ccss-website .
docker run --rm -it -v $(pwd):/app -w /app -p 4000:4000 ccss-website