Roman Re-Enactment Website
https://legio-30.org
.gitlab | ||
docker | ||
src | ||
.browserslistrc | ||
.editorconfig | ||
.gitignore | ||
angular.json | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.app.json | ||
tsconfig.json |
LEGIO · XXX
Legio XXX is the website for a North American Roman re-enactment group.
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 legio-xxx:<TAG> .
- Start the new image:
docker run -p 4200:80 legio-xxx:<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 legio-xxx:<TAG>
# Run docker image
docker run -p 4200:80 legio-xxx:<TAG>