Open source Gridcoin website
This uses the Jekyll Site builder
For installation of Jekyll, please follow the installation guide for your operating system.
Fork this repository by clicking the fork button (top right)
sudo apt-get install git
if you don't already have git installed
git clone https://github.com/gridcoin-community/Gridcoin-Site.git
(replace this with your fork)
cd Gridcoin-Site
Runbundle install
(preps the web server for local previewing)
git branch your_branch_name
(give it a descriptive name like "whitelist changes") followed by git checkout your_branch_name
Every time you make changes, run git commit -a
to add your changes followed by git push
to push them to your repo on github.com. The first time you push, you'll need to run git push --set-upstream origin your_branch_name
first to let Github.com know about your new branch.
You can preview your changes with a local development server by running bundle exec jekyll serve
When ready to submit changes, go back to your fork on github.com and you will be prompted to make a pull request.
Fork this repository by clicking the fork button (top right)
Install Git for windows
Use Git GUI to clone gridcoin Repo --OR-- Go to the location you store Git Repos and Rightclick
-> Gitbash here, then run git clone https://github.com/gridcoin-community/Gridcoin-Site.git
(put your fork's URL here)
Go to Gridcoin-Site folder (or whatever you specified when pulling the repo) Shift+RightClick
-> Open Cmd Prompt Here or Open Powershell window here(Win 10)
Run bundle install
(preps the web server for local previewing)
git branch your_branch_name
(give it a descriptive name like "whitelist changes") followed by git checkout your_branch_name
Every time you make changes, run git commit -a
to add your changes followed by git push
to push them to your repo on github.com. The first time you push, you'll need to run git push --set-upstream origin your_branch_name
first to let Github.com know about your new branch.
You can preview your changes with a local development server by running bundle exec jekyll serve
When ready to submit changes, go back to your fork on github.com and you will be prompted to make a pull request.
See more information about that process here
Head on over to the data folder to get more info.
Delete Gemfile.lock and run bundle install
bundle exec jekyll serve
If you're running through WSL you need to use the flag --force-polling
with the above command or it will not regenerate automatically on changes.
If you wish to access it from another device you need to use this workaround. Remember to change the ports that are opened.