Getting Started with the Website
Note: these steps are for MacOS/Linux/Unix but you will most likely run into problems installing Jekyll on Windows. See more information here: Jekyll on Windows
To contribute to the project website, you will need to follow the steps outlined below.
- Create a new anaconda environment used specifically for the gh-pages branch
conda create --name gh-pages
- Activate the new environment with
conda activate gh-pages
- Install the necessary anaconda packages
conda install -c conda-forge c-compiler compilers cxx-compiler ruby
- Install jekyll and bundler
gem install jekyll bundler
- Clone the repository with
git clone https://github.com/KSU-Quantum-Capstone/CS4850-DL1.git
. - Navigate into the git repository on your local computer with the
cd
command. Once you are in.../CS4850-DL1/
, - Switch to the gh-pages branch
git checkout gh-pages
- Install the bundle’s prerequisites
bundle install
- Start the jekyll server
bundle exec jekyll serve
- Make any necessary changes in the various markdown files. Everytime you save a file, the local jekyll server will reload your changes unless you are editing the _config.yml file.
- Stage your changes to the local git repo with the command
git add .
- Commit your changes by using the command
git commit -m "Enter summary of the changes you made here"
- Push your changes to the remote GitHub repo.
git push origin
- End the server with
ctrl+c
- Close your conda environment with
conda deactivate