Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/datasektionen/bawang
- Owner: datasektionen
- Created: 2013-12-19T18:14:47.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T23:25:08.000Z (2 months ago)
- Last Synced: 2024-11-11T00:22:35.823Z (2 months ago)
- Language: JavaScript
- Homepage: https://datasektionen.se
- Size: 15.7 MB
- Stars: 2
- Watchers: 30
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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.