#soundslike-server API server for soundslike written in flask
##Setup You'll need python 3, pip, postgresql, and virtualenvwrapper
-
Create a database user and a test database (named something like
soundslike-test
) -
Run
mkvirtualenv soundslike
to create a new virtualenv -
Add the following line to
$WORKON_HOME/soundslike/bin/preactivate
export TEST_DATABASE_URL=postgresql://username:pass@localhost:5432/soundslike-test
and the following line to $WORKON_HOME/soundslike/bin/postactivate
```shell
unset TEST_DATABASE_URL
```
pip install -r requirements.txt
to install dependencies in your new virtualenv- Optional: Install autoenv on your box to get localized env variables and stuff