Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/datasektionen/bawang

En inte längre ny hemsida. I nutiden. Som purjo fast klyftigare.
https://github.com/datasektionen/bawang

Last synced: about 2 months ago
JSON representation

En inte längre ny hemsida. I nutiden. Som purjo fast klyftigare.

Awesome Lists containing this project

README

        

# BAWANG

Universal react application for the chapter website.

NOTE: when building with podman, you may need to specify `--ulimit nofile=65535:65535`.

## Environment variables

| Name | Default | Description |
|--------------------------------------------------|--------------------------------------|-----------------------------------------------------------------------------------------------------------|
| TAITAN_URL | https://taitan.datasektionen.se | URL to taitan from the backend. |
| RAZZLE_TAITAN_URL | https://taitan.datasektionen.se | URL to taitan from the frontend. **Set during both build and run**. |
| CALYPSO_URL | https://calypso.datasektionen.se/api | URL to calypso from the backend. |
| RAZZLE_CALYPSO_URL | https://calypso.datasektionen.se/api | URL to calypso from the frontend. **Set during both build and run**. |
| TAITAN_CACHE_TTL | 3600 | Time to keep content from taitan cached in seconds. Tip: Set to 0 if using local taitan & bawang-content. |
| CALYPSO_CACHE_TTL | 30 | Time to keep news from calypso cached in seconds. Tip: Set to 0 if using local calypso. |
| SLUTA_FIPPLA_MED_MINA_ENV_VARIABLER_RAZZLE__PORT | 3000 | Port to listen on |
| NODE_OPTIONS | - | Set to --openssl-legacy-provider if using a non-ancient version of node |

## Running

- `npm run dev` will start the whole universal server in development mode. HMR will be enabled on both server and client side!
- `npm run build` will build a production ready server.
- `npm start` will start the production server.