How to contribute to this blog (Long Method)


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

SRG Blog 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

Help: Create a remote

4. Sync your fork with the upstream

$ git fetch upstream
$ git checkout master
$ git merge upstream/master

Help: Sync from upstream

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