|
||
---|---|---|
app | ||
README.md | ||
pyproject.toml |
README.md
Example Banjo app
Banjo is an abstraction over Django which provides a simplified subset of Django’s functionality, meant for beginners.
A Banjo app consists of two files, models.py
and views.py
, within a
directory called app
. The app is run by calling banjo
.
Installation
If you want to run this app on your computer, first install poetry. Then open Terminal and run the following:
$ cd ~/Desktop
$ git clone https://git.makingwithcode.org/archive/banjo-demo.git
$ cd banjo-demo
$ poetry install
$ poetry run banjo
Your Terminal is now serving the riddle app. Open http://localhost:8000/api
to see the automatically-generated API pages.