项目作者: publicmeetings

项目描述 :
public meetings Django app
高级语言: Python
项目地址: git://github.com/publicmeetings/app-django.git
创建时间: 2017-02-05T03:36:20Z
项目社区:https://github.com/publicmeetings/app-django

开源协议:

下载


public meetings Django app

Setup

MySQL

  1. Download and install
  2. export PATH=/usr/local/mysql/bin:$PATH

Reset root password

  1. mysql -u root -p and enter temporary password
  2. ALTER USER 'root'@'localhost' IDENTIFIED BY '<password>';

Python package management

  1. sudo easy_install pip
  2. sudo pip install virtualenv virtualenvwrapper

    • for OS X 10.11 El Capitan & MacOS 01.12 Sierra, append --ignore-installed six to the above
  3. Update shell startup file for virtualenvwrapper

Make virtual environment

  • mkvirtualenv publicmeetings

Django project

  1. git clone git@github.com:publicmeetings/app-django.git
  2. pip install -r requirements.txt
  3. mysql -u root -p < etc/mysql/dev.sql
  4. ./manage.py migrate
  5. ./manage.py createsuperuser --username=<your_username>
  6. ./manage.py runserver

Next time, run workon publicmeetings to load the virtual environment.

Test

./manage.py test