Skip to content

Commit cafd463

Browse files
committed
add: 11-web-infrastructures
1 parent 157215d commit cafd463

File tree

29 files changed

+2026
-6
lines changed

29 files changed

+2026
-6
lines changed

README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,17 @@ To do the Break-Out exercises during the tutorials and to complete all assignmen
2828
- Windows: the version from the NodeJS website should work.
2929
- Once you have npm running (check via `npm -v`), install these packages (you can do all that from the Git-Bash):
3030
- Express Generator: `npm install -g express-generator`
31-
- Angular CLI: `npm install -g @angular/cli`
32-
- Polymer-CLI: `npm install -g polymer-cli`
3331

3432
- MongoDB. Follow the [installation instructions](https://docs.mongodb.com/manual/installation/).
3533

34+
- Docker. Fllow the [installation instructions](https://docs.docker.com/install/).
3635

3736
## Repository Structure
3837

3938
### `/assignments`
4039

4140
Everything related to the assignments goes here.
4241

43-
#### `/skeletons`
44-
Contains code skeletons you can use to solve the tasks - these are optional and you don't have to use them, if you
45-
prefer to create the code from scratch (sometimes this can be easier!).
46-
4742
#### `/solutions`
4843
**Commit your own solutions in the `solutions` sub-directories.**
4944
Read the [README](https://github.com/mimuc/omm-ws1920/tree/master/assignments/solutions) first to find out how to do this. There won't be official solutions from our side.

assignments/11-web-infrastructures/.gitkeep

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# select a base image
2+
FROM node:alpine
3+
# define your application working directory
4+
WORKDIR /app
5+
# in the next command, ADD adds ./src from host to WORKDIR in container
6+
ADD . .
7+
# install dependencies for your application
8+
RUN npm install
9+
# define commands to run your container (app)
10+
CMD ["npm", "start"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build:
2+
docker build -t helloworld:v0.0.1 .
3+
push:
4+
docker tag helloworld:v0.0.1 mimuc/helloworld:v0.0.1
5+
docker push mimuc/helloworld:v0.0.1
6+
run:
7+
docker run -d -p 1234:3000 mimuc/helloworld:v0.0.1

0 commit comments

Comments
 (0)