This project is just for educational purposes and for those who want to learn Django Framework.
- Python3
- Python-pip
- virtualenv
-
Create a virtualenv using the following command
virtualenv -p python3 django_learn_env
-
Activate the virtualenv
source django_learn_env/bin/activate
-
Install the required packages
pip3 install -r requirements.txt
-
Run Django migrations
python3 manage.py migrate
-
To run the Django server
python3 manage.py runserver
-
Open your browser to the URL:
127.0.0.1:8000
you'll notice the following text:Ini adalah halaman index test
-
Edit the URL on your browser to this
http://127.0.0.1:8000/berita/
you'll notice the following text:Hello, World!