Name: pythonnepal.github.io
Owner: Python Users Group Nepal
Description: Website for Python Users Group Nepal.
Created: 2017-01-03 16:16:14.0
Updated: 2017-09-13 07:38:20.0
Pushed: 2018-02-17 11:17:03.0
Homepage: http://pythonnepal.org
Size: 64
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is the repo for the Python User Group Nepal's website. The site is built using Pelican, a static site generator, powered by Python. The site's theme is based on Pure Pelican Theme.
Fork repo
Fork the repository to your account so that you have your copy of the website.
Clone repo
$ git clone --recursive git@github.com:<your-username>/pythonnepal.github.io.git pynepal-website
This will clone the repository on to your system and clone the submodules inside it as well recursively. Additionally, the folder to which it will be cloned to is called pynepal-website
.
Set up a virtual env in that folder and activate it
$ cd <repo>
$ virtualenv venv
$ source venv/bin/activate
Install the requirements using pip
from inside the virtual environment
(venv)$ pip install -r requirements.txt
Start the server
fab serve
Visit local site
Open up your web browser and point it to http://localhost:8000 to see the site running locally. Yay!
If you're interested in writing a blog post for the website, you need to:
content
directoryan-example-article
, on your fork of the repositorymaster
branch.We use Fabric for automating the tasks and deployment. Type fab --list
to see the available commands.
lable commands:
build Build local version of site
clean Remove generated files
preview Build production version of site
publish Push the generated html to master branch on GitHub.
rebuild `clean` then `build`
regenerate Automatically regenerate site upon file modification
reserve `build`, then `serve`
serve
See CONTRIBUTING.md
If you're a python developer from Nepal, you can add yourself to the website. To do that,
content/pages/developers.md
. The format is Markdown.