legio-30/README.md
2022-09-14 22:10:52 -04:00

1.1 KiB

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
  1. Install the dependencies: npm install
  2. Start the Angular server: npm run start
Docker
  1. Build the docker image: docker build -t legio-xxx:<TAG> .
  2. 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>