A generic template for building ADS pipeline applicaitons.
To build your own worker, first clone this repository and rename stuff.
- git clone git@github.com:adsabs/adsmp.git
init.sh ADSMyNewName
Then commit the results into a new repository. (and remove this section from the README)
For database/rabbitmq and others, please use: https://github.com/adsabs/devtools
This pipeline is doing XYZ.
- some-queue: it receives a silly message with a name in it and saves it into a database
`$ cd adsmp/`
`$ virtualenv python`
`$ source python/bin/activate`
`$ pip install -r requirements.txt`
`$ pip install -r dev-requirements.txt`
`$ vim local_config.py` # edit, edit
`$ alembic upgrade head` # initialize database
Always write unittests (even: always write unitests first!). Travis will run automatically. On your desktop run:
`$ py.test`
Name, Name