How to set up the development environment - Learning-Dashboard/LD-learning-dashboard GitHub Wiki
Steps to prepare your system to start developing
1. Install necessary software
- Java integrated development environment (IDE), e.g. IntelliJ IDEA.
- Git, a distributed version-control system for tracking changes in source code during software development.
- PostgreSQL, an open source object-relational database system. The information that you are going to need to configure the connection to the database is: URL and PORT where PostgreSQL is accessible, username and password.
2. Clone a repository
After you finish creating a local copy of a repository (LD-learning-dashboard) on your computer, Open it in you Java IDE and let it build necessary Gradle files, itโs important for the last step.
3. Configure the dashboard
Add a personal configuration file named application.properties
to src/main/resources
. More details about the dashboard configuration you can find in Configuration file.
Important: This file will contain private configuration information, so take care to not upload it with your commits.
4. Run the project
To make it work correctly, you need to run the project in the following way: Gradle-Tasks-application-bootRun
.
Remember if you want to have data on you dashboard, you may have the connection to MongoDB. For it you can consult the detailed information about the MongoDB collections accessed by the dashboard in MongoDB Collections.
Finally you can see the web application work on http://localhost:8080.