55 lines
No EOL
880 B
Markdown
55 lines
No EOL
880 B
Markdown
# FluxNodes
|
|
![Landing](https://img.sudovanilla.com/4aZdSVi.png)
|
|
|
|
> The image shown is a concept
|
|
|
|
## Development
|
|
### Requirements
|
|
- [Bun](https://bun.sh/)
|
|
- 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. |