Real World App
Implementation of real world application: https://github.com/gothinkster/realworld/ using Django and Unpoly.
Installation:
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/