Skip to content

Instantly share code, notes, and snippets.

@jmkoni
Created August 18, 2013 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmkoni/6262875 to your computer and use it in GitHub Desktop.
Save jmkoni/6262875 to your computer and use it in GitHub Desktop.
Starting project for final LPTHW class
1) Change into directory that you want your project in.
ex: mkdir SongIdentifier
cd SongIdentifier
2) Install and run virtualenv
pip install virtualenv
virtualenv --no-site-packages testenv
source testenv/bin/activate
3) Install required packages:
pip install django
pip install pyechonest
4) Create requirements.txt file
pip freeze > requirements.txt
5) Create a git repo (source control is sweet!)
git init
git add .
git commit -m "initial commit"
6) Create your django project!
django-admin.py startproject songidentifier
7) Run your server!
cd songidentifier
python manage.py runserver
References: http://www.djangobook.com/en/2.0/chapter02.html
http://developer.echonest.com/raw_tutorials/faqs/faq_03.html
https://github.com/echonest/pyechonest/
https://github.com/echonest/echoprint-codegen/blob/master/examples/lookup.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment