Create and share good looking chord charts.
- Python 3.3 - http://www.python.org/
- pip - http://www.pip-installer.org/
- virtualenv - http://www.virtualenv.org/
- Node.js - http://www.nodejs.org/
-
Create a directory for the project and cd there.
mkdir jazzchords.org cd jazzchords.org -
Create a virtual environment and activate it.
virtualenv --python=python3 env . env/bin/activate -
Clone the project in the src dir and cd there.
git clone [email protected]:gitaarik/jazzchords.org.git src cd src -
Install requirements in virtual environment. This could take some time.
pip install -r dev/pip_requirements.txt pip install -r dev/pip_requirements_dev.txt -
Install nodeenv in this virtualenv.
nodeenv -p -
Install the required global and local node modules in
dev/node_requirements.txt. Make sure to do this from thedev/directory, because thenode_modulesdirectory for the local node requirements should be located in there. -
Parse the static files.
gulp parsestaticIn development you can use
gulp watchit, it will watch thejs/andcss/directory for changes and parses them on the fly. -
Migrate the database. It will ask you to create a superuser, do this, this will be your login for the admin panel later on.
./manage.py migrate -
Load the developer database.
./manage.py loaddata dev/db-dump.json -
You're done! You can now run the development server.
./manage.py runserver
If you have any questions, suggestions or comments, send me a mail.