This repository contains the sources used to build the PyConKE 2018 Website. We use pelican to build the contents of this repository into the site you see at http://pycon.or.ke
To contribute, we recommend you install:-
- Python >= 3.6
- PIP
- Click here to fork this Repo.
- Clone your fork and cd into it.
- Create a virtualenv for your repo:-
python3 -m venv ~/.virtualenvs/pyconke18
. - Activate your virtualenv:-
source ~/.virtualenvs/pyconke18/bin/activate
- Install the remaining dependencies:-
pip install -r requirements.txt
. - Initialize & update submodule dependencies (plugins, theme ..etc):
git submodule update --init --recursive
. - Then create a branch, naming it along the lines as your topic of contribution.
- Alternative lazy way to update submodule(s):
git submodule foreach --recursive git pull origin master
orgit submodule update --remote --merge
- Clean and reset submodule(s):
git submodule foreach --recursive git reset --hard
Start the development server:- ./develop_server.sh start
. Open http://127.0.0.1:8000 to view.
Any changes you make will automatically be reflected there.
- Add, commit and push your changes.
- Send us a pull request against master.
We'll review your contribution and maybe ask you to make further changes before we merge.