Note: This project is not maintained anymore. Please have a look at: https://github.com/joesan/plant-simulator
A simple simulator app that simulates the operation of a power producing plant
For simplicity, this simulator assumes that there are essentially two types of power producing plants:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
1. Install Java Version 8
2. Install Scala Version 2.11.8
3. Install IntelliJ - Latest community edition and then install the latest Scala plugin available
Follow the steps below to import the project into IntelliJ
1. Clone the project from:
git clone https://github.com/joesan/power-simulator.git
2. Fire up IntelliJ and import the project
3. If you are opening IntelliJ for the first time, set up the Scala library in IntelliJ
You have the option here to either run tests from IntelliJ or from the command line
To run tests from the command line, do the following:
1. Open a terminal and navigate to the project root folder
2. Issue the following command:
sbt clean test
To run any specific tests from within IntelliJ, simply right click the test that you wish you run and click Run
This application is built as a web application using the Play framework. To run the application, perform the following steps: TODO: Descibe how to dockerize!
1. Open a terminal and navigate to the project root folder
2. Issue the following command:
sbt run
3. Navigate to the following url on your favorite browser:
http://localhost:9000
[TODO...] document!
[[TODO]] Add additional notes about how to deploy this on a live system
[[TODO]] Add CONTRIBUTING.md to the project root
Feel free to use it