High quality resources, for web programmers.
Deploy:
git clone https://github.com/hustlzp/yprogrammer.git
- CD to the project directory, config virtualenv and install packages:
sudo apt-get install python-virtualenv
virtualenv venv
. venv/bin/active
pip install -r requirements.txt
- Rename local_settings_sample.py to local_settings.py, and fill up the blank entries in this config file
- Import data to MySQL:
mysql -uuser -ppassword
- mysql>
CREATE DATABASE yprogrammer DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql -uuser -ppassword yprogrammer < yprogrammer.sql
python manage.py runserver