Version: 0.1
| program | download link |
|---|---|
| git | https://git-scm.com/downloads |
| python 2.7.x | https://www.python.org/downloads/ |
| virtualenv | https://virtualenv.pypa.io/en/stable/installation/ |
| mysql | http://dev.mysql.com/downloads/mysql/ |
| Microsoft Visual C++ 9.0 | https://www.microsoft.com/en-us/download/details.aspx?id=44266 |
mkdir strawdocs && cd strawdocsvirtualenv envsource env/scripts/activateActivate the environment (each time you start a session working with the code)
Obtain source code and clone into code directory
git clone https://github.com/lestrato/strawdocs.git maincd main
Your Directory structure will look like this:
strawdocs
├── main
│ ├── apps
│ ├── main
│ ├── static
├── env
from within strawdocs/main directory
pip install -r requirements.txt
if you're having errors installing mysql-python, consider downloading the file for your appropriate platform from here:
- http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
- Install using:
pip install [file-name]
cp main/settings.py.example main/settings.py- Edit the main/settings.py file and insert local credentials for DATABASES
./manage.py migrate./manage.py createsuperuserorwinpty python manage.py createsuperuserfollow prompts to create your first admin user account
./manage.py runserver- Navigate to http://localhost:8000/
- Login with superuser or create new account