Clan website for the 291st Joint Task Force
https://291st.ca
.gitlab | ||
docker | ||
src | ||
.browserslistrc | ||
.editorconfig | ||
.gitignore | ||
angular.json | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json |
291st JTF
Clan page for the 291st Joint Task Force
This project was generated with Angular CLI version 14.2.2.
Table of Contents
[[TOC]]
Prerequisites
Setup
The project can either be run using NPM or Docker. NPM is recommended for development.
NPM
- Install the dependencies:
npm install
- Start the Angular server:
npm run start
Docker
- 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>