A docker wrapper for Jekyll, configured to be run with STC website (compatibility with other Jekyll-related projects are not tested).
If you're using Linux or MacOS, use RVM
directly.
- Virtualization is enabled (Instructions to check here)
- If virtualization is not enabled, ask a friend
- Docker Toolbox is installed download link
- Run
Docker Quickstart Terminal
- In the terminal, navigate to user profile with
cd ~
- Run
git clone https://github.com/tom-ng/STC-Jekyll-Docker.git
- Enter STC-Jekyll-Docker folder with
cd STC-Jekyll-Docker
- Fork and set up the repo of sunwaytechclub website, tutorial to do so here
- Go into the repo with
cd sunwaytechclub-site
- Checkout the
source-dev
branch by runninggit checkout source-dev
- To run, simply type
docker-compose up -d
inSTC-Jekyll-Docker
folder
- Run
Docker Quickstart Terminal
- Navigate to
STC-Jekyll-Docker
docker-compose up -d
- Edit contents in
sunwaytechclub-website
- You can see changes you made after a reload on browser
- Push and request PR after committing the changes, ask a friend if you aren't sure how.
- Website is available to view from
192.168.99.100
- Run
docker-compose down
inSTC-Jekyll-Docker
directory - Exit the terminal
Further documentations on how to operate Git and developing STC website will be listed in that repo/trello.