erral / eitbapi

Demo app to expose a public API for EITB Nahieran. Featuring this EuroPython 2016 talk: https://ep2016.europython.eu/conference/talks/eitb-nahieran-askatu-bideoak-api-honen-bidez

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
    

About

Demo app to expose a public API for EITB Nahieran. Featuring this EuroPython 2016 talk: https://ep2016.europython.eu/conference/talks/eitb-nahieran-askatu-bideoak-api-honen-bidez

License:GNU General Public License v2.0


Languages

Language:Python 99.8%Language:Shell 0.2%Language:Procfile 0.0%