Giter VIP home page Giter VIP logo

dhbw-tinf14a-starter's Introduction

Background

This project shares a common boilerplate for applications developed in the context of my lecture "Advanced Software Engineering" at DHBW Stuttgart.

Structure

This project folder contains code for an API- and WWW-server. Both run in a virtualized docker environment for which docker-compose.yml exists.

Requirements

Install docker environment, e.g. with docker toolbox software package or corresponding suites for linux or MacOS.

Infrastructure

Docker

We will use docker for infrastructure virtualization. Get comfortable with it.

Docker machine

It is best to use a separate docker machine with this infrastructure requirements. Create one machine with docker-machine create command and spend this machine at least 2 cores and 2GB memory for good performance.

Docker compose

NOTICE: Don't forget to previously configure a docker-machine and connect your CLI with it using eval $(docker-machine env ...) command!

The docker configuration file is docker-compose.yml and defines

For the first docker infrastructure creation:

docker-compose up

After this you can start the infrastructure later on with (no provisioning):

docker-compose start

...and stop it with (no deletion):

docker-compose stop 

If you want to bury your docker containers use:

docker-compose down

Local integration environment

Add the IP of this corresponding docker machine to your hosts file with the names www.starter and api.starter. You can use docker-machine ip ... to retrieve the machine's current IP address.

For setup instructions for development environment read further READMEs of subfolders!

www api

License

MIT

Further reading & watching

Docker

dhbw-tinf14a-starter's People

Contributors

akramer-zibra avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.