An Astro template
public | ||
src | ||
.gitignore | ||
astro-i18next.config.mjs | ||
astro.config.mjs | ||
bun.lockb | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json |
FluxNodes
The image shown is a concept
Development
Requirements
- Bun
- NodeJS 20 or later
Install Packages
Installing packages is required to start run and to build the website, run:
bun install
Run
To start running the website on a port, run:
bun dev
Production
Build Static
To build the website in static mode, run:
bun build
Server Side Rendering
To run the website in server side rendering mode, run:
bun start
Docker
This website is Docker ready!
Build the Docker image, run:
docker build -t fluxnodes.net .
Then, to run:
docker run -d -p 2000:2000 fluxnodes.net
or use the already provided Docker Compose file:
docker compose up -d
sudo
might be required on some systems to run Docker commands.