2024-04-23 20:44:52 +01:00
|
|
|
# Shadow
|
|
|
|
A blogging platform for Shadow Hosting.
|
2024-04-21 01:56:54 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
## Development
|
2024-04-21 04:01:09 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
Requirements:
|
|
|
|
- NodeJS + Bun (issue with some dev things)
|
|
|
|
- Golang 1.22
|
2024-04-21 04:01:09 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
Install the JS dependencies with `bun install`, and go dependencies with `go get`
|
2024-04-21 04:01:09 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
Create a config file and set `dev` to be true:
|
|
|
|
```toml
|
|
|
|
version = 1
|
2024-04-21 04:01:09 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
dev = true
|
|
|
|
app_url = "http://192.168.1.40:3030"
|
2024-04-21 04:01:09 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
[server]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 3030
|
|
|
|
cloudflare_proxy = false
|
2024-04-21 04:01:09 +01:00
|
|
|
```
|
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
To start the development server (vite will run with it):
|
2024-04-21 04:01:09 +01:00
|
|
|
```bash
|
2024-04-23 20:44:52 +01:00
|
|
|
go run *.go run
|
2024-04-21 04:01:09 +01:00
|
|
|
```
|
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
## Building
|
2024-04-21 04:01:09 +01:00
|
|
|
|
2024-04-23 20:44:52 +01:00
|
|
|
No info at this time
|