3
0
Fork
You've already forked gctaa_dj4e_samples
0
No description
  • Python 67.1%
  • HTML 32.9%
Find a file
2024年03月19日 08:06:40 -04:00
authz Remove pycache from repo 2024年03月19日 08:06:40 -04:00
autos Remove pycache from repo 2024年03月19日 08:06:40 -04:00
bookmany Remove pycache from repo 2024年03月19日 08:06:40 -04:00
bookone Remove pycache from repo 2024年03月19日 08:06:40 -04:00
cats Remove pycache from repo 2024年03月19日 08:06:40 -04:00
chat Remove pycache from repo 2024年03月19日 08:06:40 -04:00
crispy Remove pycache from repo 2024年03月19日 08:06:40 -04:00
dj4e-samples Remove pycache from repo 2024年03月19日 08:06:40 -04:00
favs Remove pycache from repo 2024年03月19日 08:06:40 -04:00
favsql Remove pycache from repo 2024年03月19日 08:06:40 -04:00
fetch Remove pycache from repo 2024年03月19日 08:06:40 -04:00
form Remove pycache from repo 2024年03月19日 08:06:40 -04:00
forums Remove pycache from repo 2024年03月19日 08:06:40 -04:00
getpost Remove pycache from repo 2024年03月19日 08:06:40 -04:00
gview Remove pycache from repo 2024年03月19日 08:06:40 -04:00
hello Remove pycache from repo 2024年03月19日 08:06:40 -04:00
home Remove pycache from repo 2024年03月19日 08:06:40 -04:00
maintenance Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00
many Remove pycache from repo 2024年03月19日 08:06:40 -04:00
menu Remove pycache from repo 2024年03月19日 08:06:40 -04:00
myarts Remove pycache from repo 2024年03月19日 08:06:40 -04:00
pics Remove pycache from repo 2024年03月19日 08:06:40 -04:00
rest Remove pycache from repo 2024年03月19日 08:06:40 -04:00
route Remove pycache from repo 2024年03月19日 08:06:40 -04:00
scripts Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00
session Remove pycache from repo 2024年03月19日 08:06:40 -04:00
site Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00
tagme Remove pycache from repo 2024年03月19日 08:06:40 -04:00
tenant Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00
tmpl Remove pycache from repo 2024年03月19日 08:06:40 -04:00
tracks Remove pycache from repo 2024年03月19日 08:06:40 -04:00
usermodel Remove pycache from repo 2024年03月19日 08:06:40 -04:00
users Remove pycache from repo 2024年03月19日 08:06:40 -04:00
util Remove pycache from repo 2024年03月19日 08:06:40 -04:00
views Remove pycache from repo 2024年03月19日 08:06:40 -04:00
well Remove pycache from repo 2024年03月19日 08:06:40 -04:00
.gitignore Add gitignore 2024年03月01日 13:34:44 -05:00
LICENSE.md Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00
manage.py Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00
README.md Finish updating README with intallation instructions 2024年03月01日 18:23:28 +00:00
requirements.txt Oops, don't need tzdata, django has it's own 2024年03月03日 08:43:57 -05:00
requirements_frozen_2024年03月01日.txt Oops, don't need tzdata, django has it's own 2024年03月03日 08:43:57 -05:00
TODO.md Copy over source from Dr. Chuck with a few local tweeks to start 2024年03月01日 12:18:33 -05:00

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

http://samples.dj4e.com

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.