No description
DJ4E Samples
This is a set of Django projects that provide free sample code to support the Dr. Chuck's Django for Everybody course.
You can see some of the samples working at
Clone the Repository
Run:
% git clone https://git.gctaa.net/jelkner/gctaa_dj4e_samples.git
Setting Up a Virtual Environment on Mac
Run:
% cd gctaa_dj4e_samples
% python3 -m venv .env
% source .env/bin/activate
(.env) pip install -r requirements_frozen_2024年03月01日.txt
(.env) python manage.py migrate
(.env) python manage.py createsuperuser
You will be prompted for a Username, Email address, and Password
(twice). Be sure to write these down so you don't loose them.
Testing Your Setup on a Mac
If you have Django installed on your school computer you can test any of the sample applications by going into the folder and starting the server:
% cd gctaa_dj4e_samples
% source .env/bin/activate
(.env) python manage.py runserver 0.0.0.0:8080
and then visiting (pointing your web browser at) http://localhost:8080.