- Fri 01 February 2019
- HowTo's
- Joseph Anthony C. Hermocilla
Contributions are encouraged from SRG members.
1. Set up the development environment
$ virtualenv pelican-blog-venv
$ source pelican-blog-venv/bin/activate
$ pip install pelican markdown ghp-import
2. Fork the original repository
This is accomplished in github and you must be logged in. You should have the repository under your account after the fork.
3. Clone the repository from your account
$ git clone https://github.com/<YOUR_USERNAME>/blog.git
3. Configure a remote for your fork
$ git remote -v
$ git remote add upstream https://github.com/srg-ics-uplb/blog.git
$ git remote -v
4. Sync your fork with the upstream
$ git fetch upstream
$ git checkout master
$ git merge upstream/master
5. Create your blog entry
At this point you are ready to write your entries. Create your own directory inside content. You're going to place all your entries in this directory.
$ mkdir -p content/<YOUR_NICKNAME>
For example, the source for this entry is here.
If your entry has images, place them in the images directory,
Additional Resources