Giter Site home page Giter Site logo

mejo1024 / hska-vis-legacy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mavogel/hska-vis-legacy

0.0 0.0 0.0 327 KB

This project is the quick setup of the legacy webshop of the masters course 'Distributed Information Systems' at the University of Applied Sciences (Karlsruhe).

Home Page: http://mavogel.github.io/projects/2017-02-01-from-monolith-to-microservices/

License: MIT License

Java 99.60% Dockerfile 0.40%

hska-vis-legacy's Introduction

MIT license Travis Build Status

Distributed Information Systems Laboratory aka vis-lab

This project is the quick setup of the legacy webshop of the masters course 'Distributed Information Systems' at the University of Applied Sciences (Karlsruhe).

Table of Contents

Prerequisites

Usage

You can run the images from docker hub which is preferred or built it on your own. First: Start Docker daemon and check with docker ps

Quick Start (docker-hub)

  • Copy the docker-compose.yml locally in a desired folder and run
$ docker-compose up -d
# to follow the logs
$ docker-compose logs -tf
# to shutdown
$ docker-compose down

Built it on your own

  • Run docker-compose -f docker-compose-local.yml up -d which will
    • It builds the web app war in a staged build, packs it into a docker tomcat8 container, and sets the user tomcat with password admin for the Management Console at http://localhost:8888/
    • Initializes the MySQL Database docker container with the db user defined in hibernate.cfg.xml
    • Sets up both containers and make the legacy webshop available under http://localhost:8888/EShop-1.0.0
  • Follow the logs via docker-compose -f docker-compose-local.yml logs -tf
  • To shutdown the containers run docker-compose -f docker-compose-local.yml down

Database Cleanup

If you change the user and password of the MySQL database, you should run

$ docker-compose rm -v
$ rm -rf .data

Details can be found here

License

Copyright (c) 2017-2018 Manuel Vogel Source code is open source and released under the MIT license.

hska-vis-legacy's People

Contributors

mejo1024 avatar mavogel 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.