ea65794255ab372a0595ac0fc34a5bc939d697d5
The images should auto cycle now that the thumbnails are working. I don't know how to test this! This is what I tried: ``` bun install bun run build VITE_API_HOST=https://maps.staging.strafes.net/v1 bun run preview ``` but the mapfixes page won't load the mapfixes. Reviewed-on: #295 Reviewed-by: itzaname <itzaname@noreply@itzana.me> Co-authored-by: Rhys Lloyd <krakow20@gmail.com> Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
STRAFES.NET Map Submission System
Components
- Submissions API (golang)
pkg/cmd/ - Website
/web/ - Script Validation (rust)
validation/
How to Begin Development on Each Component
Submissions API
Prerequisite: golang installed
-
Run
go generateto ensure the generated API is up-to-date. This project uses ogen.go generate -
Build the project.
make build-backendBy default, the project opens at
localhost:8080.
Website
Prerequisite: bun installed
The environment variables API_HOST and AUTH_HOST will need to be set for the middleware.
Example .env in web's root:
API_HOST="http://localhost:8082/"
AUTH_HOST="http://localhost:8083/"
cd webbun install
For development:
bun run dev
For production:
bun run buildbun run start(optionally start a node server)
Script Validation
Prerequisite: rust installed
cargo run --release -p maps-validation
Environment Variables:
- ROBLOX_GROUP_ID
- RBXCOOKIE
- RBX_API_KEY
- API_HOST_INTERNAL
- NATS_HOST
- LOAD_ASSET_VERSION_PLACE_ID
- LOAD_ASSET_VERSION_UNIVERSE_ID
License
Licensed under MIT license.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, shall be licensed as above, without any additional terms or conditions.
Languages
TypeScript
43.3%
Go
35.9%
Rust
19.9%
SCSS
0.5%
Makefile
0.2%
Other
0.1%