An auction system for various products. Using a 3-tier architecture.
Running the sepearate tiers can be done by pulling them from grkip/<image_name>. All tiers can also be run by docker-compose up
from the top level folder in this project. (all that are implemented at least)
The settings file is located in the file settings.ts and can be accessed by importing the settings class.
To run your front-end locally run in your main Angular app folder: ng serve
This will run your front-end on localhost:4200, auto updating if any changes are applied.
To only build once use: ng build
The settings can be found in the settings.json.
A container will be generated for you with sbt docker:publishLocal
. The container has to be run with user root e.g. docker run -u root bidding-system:1.0-SNAPSHOT
The production environment should use image from the docker repo. However to build your local image for testing purposes you can use the command:
docker build -t bidding-frontend -f Docker/Dockerfile .
Short explanation: -t is the name (tag), -f the location of the docker folder your creating an image from and the final '.' is your current build environment.
To run the container simply use: docker run -p 80:80 bidding-frontend
Here -p is the port (80 is the default)