Skip to content

erral/eitbapi

Repository files navigation

eitbapi

A pyramid app to expose an API for EITB Nahieran (unofficial)

https://travis-ci.com/erral/eitbapi.svg?branch=master

View API online

https://still-castle-99749.herokuapp.com/

Installation

To run and install localy, create a virtualenv first and then:

$ pip install -r requirements.txt
$ pip install -e .
$ pserve development.ini --reload

Deployment on Heroku

You can deploy this app on Heroku. To do so, first create an account at Heroku and install Heroku Toolbelt and login for the first time from the console:

$ heroku login

Now you are ready to create the application on Heroku:

  • Clone this repository:

    $ git clone git@github.com:erral/eitbapi
    $ cd eitbapi
    
  • Create the heroku app:

    $ heroku create
    
  • Deploy the code to Heroku:

    $ git push heroku master
    
  • Open the web browser pointing to the application:

    $ heroku open
    

Releases

No releases published

Packages

No packages published

Languages