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:

  1. Fork the SPADE-FIWARE-Artifacts repo on GitHub.

  2. Clone your fork locally:

$ git clone git@github.com:your_name_here/SPADE-FIWARE-Artifacts.git
  1. 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
  1. Create a branch for local development:

$ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.

  1. When you’re done making changes, check that your changes pass the tests:

$ python setup.py test
  1. 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
  1. Submit a pull request through the GitHub website.