https://github.com/cdriehuys/unnamed-web-project
Web app with no clear purpose.
https://github.com/cdriehuys/unnamed-web-project
Last synced: 3 months ago
JSON representation
Web app with no clear purpose.
- Host: GitHub
- URL: https://github.com/cdriehuys/unnamed-web-project
- Owner: cdriehuys
- License: mit
- Created: 2023-02-19T01:38:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-20T16:42:37.000Z (over 2 years ago)
- Last Synced: 2025-01-07T07:44:09.241Z (5 months ago)
- Language: Python
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unnamed Web Project
The basics of a web app with no real purpose.
## Running Locally
The app can be run locally for the purpose of development or as a standalone
service.### Development
Open VS Code, and ensure the project is opened as a dev container. This will
bring up the required background services defined in `docker-compose.base.yml`.To start the server, run:
```bash
cd ./unnamed_web_project
./manage.py runserver
```The application will be available at http://localhost:8000 assuming no other
service is using that port. See the _PORTS_ tab at the bottom of the VS Code
window for more information.To get live reloading of template/style changes, open another terminal and run:
```bash
# This is necessary for the first run or after dependency changes for the theme.
./manage.py tailwind install./manage.py tailwind start
```### Standalone
The entire application stack can be run with `docker compose`:
```bash
docker compose -f ./docker-compose.base.yml -f ./docker-compose.yml up --build
```The application will be available at http://localhost:8001.
If the VS Code development container is running, then stopping the above command
will also tear down the backing services and the VS Code container. To avoid
this, run only the `app` and `proxy` services:
```bash
docker compose up --build app proxy
```