forked from gmt-git/django-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 0
anandu/django_examples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Django Hello World Project To setup, Please follow below instructions #-----------------------------------------# 1. yum install gcc httpd-devel python-pip mod_wsgi 2. pip install Django==1.4 django-annoying 3. cd /var/www/ 4. git clone https://github.com/anandu/django_examples.git 5. cd django_examples/django_hello_world 6. python manage.py syncdb 7. python manage.py test hello 8. Create vhost.conf vim /etc/httpd/conf.d/vhost.conf WSGIScriptAlias / /var/www/django_examples/django_hello_world/wsgi.py <Directory /var/www/django_examples/django_hello_world> Order allow,deny Allow from all </Directory> 9. Restart apache 10. vim setting.py , remark line no.15 and uncomment line 16 15 'NAME': 'hello.sqlite3', # Or path to database file if using sqlite3. 16 # 'NAME': '/var/www/django_examples/django_hello_world/hello.sqlite3', /etc/init.d/httpd restart
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%