Django-classified demo project with user authorization via Facebook or Email.
You can check demo project running here: http://classified.pzbz.ru
git clone git@github.com:inoks/django-classified-demo.git
cd django-classified-demo/app/
python3 -m venv .
source bin/activate
pip install -r requirements/default.txt
python3 ./manage.py migrate
python3 ./manage.py populate_demo_data
python3 ./manage.py runserver
- Open http://localhost:8000/ in your browser
- Install Docker
git clone git@github.com:inoks/django-classified-demo.git
cd django-classified-demo/
docker-compose up -d
docker-compose run web python ./manage.py populate_demo_data
- Open http://localhost:8000/ in your browser
- You need to create Docker machine.
- Copy
docker.env
file toproduction.env
and adjust your settings - Activate production Docker machine
eval "$(docker-machine env docker-sandbox)"
- Start your app in the Docker
docker-compose -f docker-compose.yml -f production.yml up -d
-
Note:
populate_demo_data
management command will load initial data to populate app Sections, Groups and Areas based on craigslist.org website structure. -
Use username
admin
andpassword
admin to access Django Classified Admin.