Created
August 18, 2013 17:32
-
-
Save jmkoni/6262875 to your computer and use it in GitHub Desktop.
Starting project for final LPTHW class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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