Issue one of the following commands to run:
Open a terminal and navigate to the project root folderĢ. Once you have the database up and running, configure the database credentials in theĪ file (xxxx stands for test or prod)ġ. Make sure to have a running instance of your database server and to run the setup scripts. This project that contains the setup script for the database (Supported databases are MySQL and H2): First, we need a database that is up and running. To run tests from the command line, do the following:Ġ. You have the option here to either run tests from IntelliJ or from the command line Have a look here of what it could do! Running tests This is a serious application which is ready to take a beating. You have to make sure to set up your database and configure the database credentials and url in one of the files (where xxxx stands for either test or prod) Load Testing
Play framework on docker on kubernetes driver#
You only need to add the set up scripts and include the JDBC driver dependency to build.sbt.
Play framework on docker on kubernetes free#
If you need support for other relational databases, please feel free to contribute. Though the application is multi relational database compliant, currently only MySQL and H2 databases are supported, the reason being that the set up scripts are only avaiable for MySQL and H2. If you are opening IntelliJ for the first time, set up the Scala library in IntelliJ accordingly Fire up IntelliJ and import the projectģ. With that little picture above, I hope you are interested to give the application a try! The instructions given below will get you a copy of the project up and running on your local machine for development and testing purposes. The plant-simulator app monitored the RampUp closely and if I plot the values I end up getting this beautiful graph below! By RampUp, I mean that the PowerPlant can start operating and inject power into the electrical grid (if connected). Here is what the operation of a PowerPlant would look like! A constant command and control of the PowerPlant would end up showing you the following graph! In the graph below, you will see that the PowerPlant which was operating at its base power was asked to RampUp for some time and it did that. Simulation of De-centralized command and control of electricty producing & consuming power plants that can be remotely steered and operated at scale! Getting Startedįor some background information on the project, please have a look at the Wiki documentation hereįor the impatient you, I have a version up and running on Heroku here! Please be soft on it as it is running on just 512MB RAM! But you will not be dissapointed! Give it a try! Here is the API that you can use to test the Command and Control of the Power Plant's Plant-simulator (a.k.a Digital Twin a.k.a Virtual Power Plant command & control)