Skip to content

fnscoder/DSAW_AA321

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSAW AA 3-1

A Java based container application implementing Threads and Sockets.

How to use

  1. Install Docker in your host machine (if you wish, it will work with manual javac compiling, but to do it is up to you).
  2. Run docker-compose pull to download container images
  3. Execute docker-compose run mvn to build Java classes and download dependencies.
  4. Run docker-compose run mvn dependency:copy-dependencies to copy mysql odbc driver to target.
  5. Launch docker-compose up server to start the server.
  6. To start the client, run docker-compose run --rm client in a new terminal inside project root.
  7. Play with the application.

Important notes

Use Maven Standard Directory Layout to organize the app.

This project is in package br.ufscar.

Maven container entrypoint is set to mvn, making easy to run maven commands (e.g: docker-compose run mvn clean install). Default command is install, so running docker-compose run mvn is the same as docker-compose run maven mvn install in case if entrypoint is not set.

A database dump file could be placed on database\data folder. When MySQL container is created, all scripts in that folder will be executed.

About

DSAW - AA3-2-1 – Atividade Avaliativa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages