https://github.com/leighmacdonald/uncledane-web
Source for uncledane.com
https://github.com/leighmacdonald/uncledane-web
tf2
Last synced: 4 months ago
JSON representation
Source for uncledane.com
- Host: GitHub
- URL: https://github.com/leighmacdonald/uncledane-web
- Owner: leighmacdonald
- License: mit
- Created: 2020-07-13T12:27:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T06:34:54.000Z (about 1 year ago)
- Last Synced: 2025-04-08T07:35:37.544Z (about 1 year ago)
- Topics: tf2
- Language: SCSS
- Homepage: https://uncledane.com/
- Size: 26.5 MB
- Stars: 16
- Watchers: 3
- Forks: 7
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [uncledane.com](https://uncledane.com/)
## Configure
Copy the `config_example.yml` to `config.yml`. You should only need
to edit the TF2 server details normally.
## Dev
To build the binary:
make
Watch and compile frontend assets:
make watch
Run the HTTP application server:
make run
## Docker
The docker image uses a 3 stage build system. 2 Build stages, one for frontend (JS/CSS/etc.) and the other for
the go backend. The compiled binaries and assets are then copied to the final image.
The videos folder (not included in this repo), should be mounted in the container under /app/frontend/dist/videos
To build the image `leighmacdonald/uncledane-web` run:
make image
To run the image:
make run_image
Or
docker run --rm -p 8003:8003 -v "./config.yaml:/app/config.yaml" -v "./videos:/app/frontend/dist/videos" leighmacdonald/uncledane-web:latest