Skip to content

uplb-eliens/uplb-eliens.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributing

1. Set up the environment

Tested with Pelican 4.8.0

$ virtualenv pelican-blog-venv
$ source pelican-blog-venv/bin/activate
$ pip install pelican markdown

2. Fork the original repo

UPLB Eliens Site Repo

This is accomplished in github and you must be logged in. You should have the repository under your account after the fork.

3. Clone your fork of the repo

$ git clone https://github.com/<YOUR_USERNAME>/uplb-eliens.github.io.git
$ cd uplb-eliens.github.io

4. Configure remote for your forked repo

$ git remote -v
$ git remote add upstream https://github.com/uplb-eliens/uplb-eliens.github.io.git
$ git remote -v

Help: Create a remote

5. Sync your forked repo with the upstream

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

Help: Sync from upstream

6. Create your blog entry

$ mkdir -p content/articles/<YOUR_NICKNAME>
$ mkdir -p content/articles/<YOUR_NICKNAME>/images

Example Article.

Follow the naming convention above.

If your article has images, place them in the images directory.

7. Test

$ make clean
$ make html
$ make devserver

Check (http://localhost:8000) on browser.

Ctrl+C on the terminal to stop the server when done.

7. Commit and push

You might want to sync with upstream first as described above before running the following commands.

$ git commit -m"edits" -a
$ git push

8. Exit the environment

$ deactivate

9. Submit a pull request

Aditional Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •