Implementation of real world application: https://github.com/gothinkster/realworld/ using Django and Unpoly.
To install and run locally:
-
Clone the project:
git clone https://github.com/alnuaimi94/realworld
-
Change directory & Create virtualenv called env:
cd realworld
python3 -m venv env
-
Activate virtualenv:
- for Windows System:
env/Scripts/activate
- for Linux System:
source ./env/bin/activate
- for Windows System:
-
Install dependencies:
pip install -r requirements/local.txt
-
Change DJANGO_SETTINGS_MODULE from production to local in manage.py, asgi.py and wsgi.py files.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'realworld.config.settings.local')
-
Migrate & Runserver:
python manage.py migrate
python manage.py runserver
-
Finally open the localhost in the browser:
http://127.0.0.1:8000/