/obrisk-resale

Obrisk.cn was a location-based C2C marketplace deployed in various cities in China. The project was discontinued in 2021

Primary LanguagePython

Obrisk

A location-based social network for foreigners in China.

TravisCI Status Coverage Built with Cookiecutter Django

A location based social network

The project has 5 apps:

Articles/blogging (A blogging app) Stories (A news-feed like app) Classifieds (Second-handed selling) Messeger (A basic chat for communication.) Question & Answers (A Stack Overflow-like platform)

Basic Instructions

For the chat app to work please create a superuser as the url will need the kwarg of admin username. For development when running manage.py file please pass a flag --settings=config.settings.local to reflect the local changes.

Test coverage

To run the tests, check your test coverage, and generate a simplified coverage report:

$ pytest

To generate an HTML report:

$ coverage html
$ open htmlcov/index.html

To check the report in console:

$ coverage report -m

Deployment

The following details how to deploy this application.

Heroku

See detailed cookiecutter-django Heroku documentation.

Docker

See detailed cookiecutter-django Docker documentation.