Installation¶
Stable release¶
To install SPADE-FIWARE-Artifacts, run this command in your terminal:
$ pip install spade-fiware-artifacts
This is the preferred method to install SPADE-FIWARE-Artifacts, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources¶
The sources for SPADE-FIWARE-Artifacts can be downloaded from the Github repo.
You can clone the public repository:
$ git clone git://github.com/sosanzma/SPADE-FIWARE-Artifacts
Or download the tarball:
$ curl -OJL https://github.com/sosanzma/SPADE-FIWARE-Artifacts/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install
Development setup¶
If you’re setting up SPADE-FIWARE-Artifacts for development:
Fork the SPADE-FIWARE-Artifacts repo on GitHub.
Clone your fork locally:
$ git clone git@github.com:your_name_here/SPADE-FIWARE-Artifacts.git
Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:
$ mkvirtualenv spade-fiware-artifacts
$ cd spade-fiware-artifacts/
$ python setup.py develop
Create a branch for local development:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
When you’re done making changes, check that your changes pass the tests:
$ python setup.py test
Commit your changes and push your branch to GitHub:
$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitHub website.