-
Notifications
You must be signed in to change notification settings - Fork 175
Project Management docs
Claudio Sparpaglione edited this page Dec 21, 2016
·
25 revisions
Build the image with:
cd <pyowm-root-dir>
docker build -t pyowm:latest .
Start containers with:
docker run -d --name pyowm pyowm
Run Tox tests on containers
docker exec -ti pyowm tox
Eg: for tagged version 2.3.1
VERSION="2.3.1"
# Build and tag
docker build -t csparpa/pyowm:${VERSION} .
docker tag csparpa/pyowm:${VERSION} csparpa/pyowm:latest
# Push to DockerHub
docker push csparpa/pyowm:${VERSION}
docker push csparpa/pyowm:latest
AUR (ArchLinux)
The Wiki is handled as a Git submodule of the project.
The submodule is "mounted" under the '/wiki' folder.
These are the instructions to setup the submodule:
$ cd <PYOWM-root>
$ git submodule add https://github.com/csparpa/pyowm.wiki.git wiki
$ git submodule init
- consider major, minor and patch version numbers according to SemVer
- update constants.py
- update setup.py
- update city ID files
- check for domain entities changes and update Django models on https://github.com/csparpa/django-pyowm
- update README.md
- update github wiki pages (including changelog+deprecations) in the /wiki folder
- run tests locally using tox (or setup.py with all Python supported envs)
- generate documentation locally
- merge develop branch into master branch (no feature/hotfix branches left open)
- close milestone on github
- tag release on github
- generate and upload release on pypi
- update docker image on DockerHub