An open API service indexing awesome lists of open source software.

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.

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
```