-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
46 lines (32 loc) · 1.08 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
========================
django-smallmonitor-project
========================
A project template for Django 1.8.2
To use this project follow these steps:
#. Install Django
#. Create the new project using the django-two-scoops template
#. Install additional dependencies
#. Install static file dependencies
#. Run server
Installing Django
============================
To install Django in the new virtual environment, run the following command::
$ pip install django
Installation of Dependencies
=============================
Depending on where you are installing dependencies:
$ pip install -r requirements.txt
#set version
=============================
smallmonitor.__init__.py
#. Install static file dependencies
=============================
bower update
Run server
==============================
test
python manage.py test --settings=smallmonitor.test_settings
development
python manage.py runserver --settings=smallmonitor.development_settings 0.0.0.0:2332
production add --insecure close debug can't find static file
python manage.py runserver --insecure 0.0.0.0:2332