-
Notifications
You must be signed in to change notification settings - Fork 9
Useful commands
kwinkunks edited this page May 8, 2012
·
1 revision
Updating the doc @ http://agile-geoscience.github.com/modelr/
Get the repositories:
git clone [email protected]:agile-geoscience/modelr.git
git clone [email protected]:agile-geoscience/modelr.git doc_modelr
Build the documentation:
cd modelr/doc
make html
Update the documentation page:
cd -
cd doc_modelr
git checkout gh-pages
-
rsync -zvr ../modelr/_build/html/ .
-- copy the web content -
git add -A
-- Add the files to git -
git ci -m "updated doc"
-- Make a commit -
git push origin gh-pages:gh-pages
-- Push the commit to github.
This will allow people to run easy install modelr.
As an initial step crate the file .pypirc with the following information:
[distutils]
index-servers =
pypi
[pypi]
username:agile.geoscience
password:agile.geo123
If you are working with git:
- choose a
new-version-name
- edit
version.txt
in the main directory to containnew-version-name
. -
git tag new-version-name
-- create a new tag -
git push --tags
-- push the tags to github -
python setup.py sdist upload
-- push the release to pypi