Add project description
This commit is contained in:
parent
8d97ecec6c
commit
e994a63c46
42
README.md
42
README.md
@ -1,8 +1,40 @@
|
||||
# Containerisation
|
||||
# Web Application Engineering Assignment 1 -- Group 04
|
||||
|
||||
* Run project containers with ```docker-compose up```
|
||||
(to pull without build: comment out build keys, otherwise docker-compose will try to build the image)
|
||||
## Technology Stack
|
||||
|
||||
* Access Web Application Frontend via localhost:4200
|
||||
* Angular for our single-page frontend
|
||||
* Django for our backend
|
||||
* Database: TBD
|
||||
|
||||
* Access Web Application Backend if necessary via localhost:8000
|
||||
We chose this specific stack because all of our team members have previously
|
||||
worked with this combination of Angular/Django and there is a lot of
|
||||
documentation for it online. We have not yet settled on a technology for the
|
||||
persistence layer.
|
||||
|
||||
## Linting
|
||||
|
||||
We use the `ng lint` command to lint our frontend. For this to work,
|
||||
`angular-cli` must be installed. After that run the following in the frontend
|
||||
folder:
|
||||
|
||||
```bash
|
||||
$ ng lint
|
||||
```
|
||||
|
||||
## Setup
|
||||
|
||||
Our project can be run with a simple `docker-compose up` from the project's root
|
||||
folder. By default it will pull the required images from [docker
|
||||
hub](https://hub.docker.com). To instead build the images locally, comment out
|
||||
the `build` keys inside the `docker-compose.yml` file.
|
||||
|
||||
The `docker-compose.yml` file builds the images by calling the `Dockerfiles` in
|
||||
the folders `frontend` and `backend`. The frontend is served via nginx on port
|
||||
4200. The backend is served on port 8000.
|
||||
|
||||
The docker images are available at:
|
||||
|
||||
* [waecm-2021-group-04-bsp1-fe](https://hub.docker.com/r/pfingstfrosch/waecm-2021-group-04-bsp-1-fe)
|
||||
* sha256 digest: 41c3392154185ceb02273aa9edf87df2c0eaac2112f4b2bf923c7f7f3e39909b
|
||||
* [waecm-2021-group-04-bsp1-be](https://hub.docker.com/r/pfingstfrosch/waecm-2021-group-04-bsp-1-be)
|
||||
* sha256 digest: c1e755bea6ca93d04838c110dbee3a8306faac7b7a8e066ea8a4dec122575683
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user