Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It's assumed you have Python and Postgres already installed.
* Create a database in Postgres. Whatever database settings used needs to be added to apps/ch/settings.py ~ line 12. You could also make a settings_local file using your machine name and put that in settings_local/MACHINE_NAME.py
* Run ```python manage.py syncdb --migrate```
* Go into static directory and run ```python -m SimpleHTTPServer```. You should create a serve.bat file for this. This is the Angular app.
* Start Django. ```python managae runserver 0.0.0.0:8001``` I created a batch file for this called r.bat. This is your API and admin.
* Start Django. ```python manage.py runserver 0.0.0.0:8001``` I created a batch file for this called r.bat. This is your API and admin.
* Go to [http://localhost:8000/]. This is the Angular app. It's being served directly via SimpleHTTPServer. It can be served from anywhere, even Amazon. There might be cross domain issues if you're hosting on a different domain.

Use it
Expand Down
7 changes: 2 additions & 5 deletions apps/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ Django==1.5
South==0.7.6
psycopg2==2.4.2
virtualenv==1.6.4
#wsgiref==0.1.2
django-extensions==1.0.3
django-debug-toolbar==0.9.4
django-annoying==0.7.7
django-tastypie==0.9.14
python-dateutil==1.5
mimeparse==0.1.4
#django-concurrent-server==0.1.0
git+https://github.com/ashchristopher/django-concurrent-server@586989bda43be0a206c7f1d579d8c0f2a9
a4580d#egg=django_concurrent_server-dev#egg=Package
mimeparse
django-concurrent-server==0.1.0