Clan website for the 291st Joint Task Force
https://291st.ca
|
||
---|---|---|
.gitea/workflows | ||
.gitlab | ||
docker | ||
src | ||
.browserslistrc | ||
.editorconfig | ||
.gitignore | ||
angular.json | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
291st JTF
"Putting the Damned to Rest"
This is the clan website for the 291st Joint Task Force.
This project was generated using Angular 14.
Table of Contents
Prerequisites
Setup
The project can either be run using NPM or Docker. NPM is recommended for development.
NPM (Development)
- Install the dependencies:
npm install
- Start the Angular server:
npm run start
Docker (Production)
- Build the docker image:
docker build -t 291st:<TAG> .
- Start the new image:
docker run -p 4200:80 291st:<TAG>
The website should now be accessible on http://localhost:4200
Cheatsheet
# Start Angular server
npm run start
# Build production
npm run build:prod
# Build docker image
docker build -t 291st:<TAG>
# Run docker image
docker run -p 4200:80 291st:<TAG>