This repository contains a collection of Django-HowTos for learning/demo purposes.
The HowTos are tested with the following software components...
Name | Reference |
---|---|
Windows | >= 11 |
Docker Desktop | >= 4.12.0 |
WSL | >= 2 |
Ubuntu | >= 20.04.6 LTS (Focal Fossa) |
docker | 20.10.17 |
docker-compose | v2.10. |
Id | Description |
---|---|
001 | HowTo - Create an 'Hello World' App with Django |
-
Clone the Django-HowTos repo
$ cd ~ $ git clone [email protected]:schneidermatic/Django-HowTos.git
-
Select one of the HowTos i.e.
$ cd Django-HowTos/"HowTo - Create an 'Hello World' App with Django" $ source ./.apprc
-
Define the 'PROJECT_HOME' Variable in the $HOME/.djangohw2s File
-
Source the APP Environment (again)
$ cd Django-HowTos/"HowTo - Create an 'Hello World' App with Django" $ source ./.apprc
-
List all Shorthands
$ cd Django-HowTos/"HowTo - Create an 'Hello World' App with Django" $ app_ls ___ _ | \(_)__ _ _ _ __ _ ___ | |) | / _` | ' \/ _` / _ \ |___// \__,_|_||_\__, \___/ |__/ |___/ ---------- app_banner app_ls app_mkapp app_mkhw2 app_mkpro app_mkvenv app_rmhw2 app_rmpro app_rmpyc app_rmvenv app_run
-
Run the APP
$ app_run
-
Open your Browser an go to http://localhost:8000
- Stop the app with 'ctrl-c'
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request