https://github.com/zerc/django-test-job
Just a test job to show example of my code.
https://github.com/zerc/django-test-job
Last synced: about 2 months ago
JSON representation
Just a test job to show example of my code.
- Host: GitHub
- URL: https://github.com/zerc/django-test-job
- Owner: zerc
- Created: 2013-07-13T10:06:04.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-29T15:45:40.000Z (almost 13 years ago)
- Last Synced: 2025-10-11T16:32:00.701Z (8 months ago)
- Language: Python
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Django small test job
=====================
Just a test job to show example of my code.
### Install
sudo apt-get install python-pip, sqlite3
sudo pip install virtualenv
git clone git@github.com:zerc/django-test-job.git test-django-job
cd test-django-job
virtualenv venv
. venv/bin/activate
pip install -r pip.req
Add superuser:
./manage.py createsuperuser
Runserver:
./manage.py runserver 0.0.0.0:8000
And go to *http://localhost:8000/admin/*
### Blog app
This simples blog app with tags and comments (from box). Not so good solution, but easy and fast develop. Just for show example of.
Run migrations:
./manage.py migrate
Run syncdb for add comments tables:
./manage.py syncdb
Apply fixtures:
./manage.py loaddata initial.json
Run tests if you whant:
./manage.py test blog
Start server and got to posts main page: *http://localhost:8000/posts/*