- Download and install
export PATH=/usr/local/mysql/bin:$PATH
mysql -u root -p
and enter temporary passwordALTER USER 'root'@'localhost' IDENTIFIED BY '<password>';
sudo easy_install pip
sudo pip install virtualenv virtualenvwrapper
- for OS X 10.11 El Capitan & MacOS 01.12 Sierra, append
--ignore-installed six
to the above
mkvirtualenv publicmeetings
git clone [email protected]:publicmeetings/app-django.git
pip install -r requirements.txt
mysql -u root -p < etc/mysql/dev.sql
./manage.py migrate
./manage.py createsuperuser --username=<your_username>
./manage.py runserver
Next time, run workon publicmeetings
to load the virtual environment.
./manage.py test