Skip to content

DarrenCattle/soundslike-server

 
 

Repository files navigation

#soundslike-server API server for soundslike written in flask

##Setup You'll need python 3, pip, postgresql, and virtualenvwrapper

  1. Create a database user and a test database (named something like soundslike-test)

  2. Run mkvirtualenv soundslike to create a new virtualenv

  3. 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
```
  1. pip install -r requirements.txt to install dependencies in your new virtualenv
  2. Optional: Install autoenv on your box to get localized env variables and stuff

About

API server for soundslike written in flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Mako 1.3%
  • Makefile 0.3%