reset password

Set Up Development Environment for Aquila Backend

You can watch a short video on how to set up the development environment here. It includes the following steps:

1. Fork the repository at https://github.com/cysun/aquila-server

2. Clone the forked repository in Eclipse. It will clone the project to your computer but it won't automatically add the project to Eclipse.

3. Import the project into Eclipse as a Maven project.

4. Create a database and populate the database using the SQL script src/main/scripts/aquila-create.sql

5. Copy src/main/resources/application.properties.sample to src/main/resources/application.properties, and edit application.properties to match your local setup (e.g. you may have different database username and password).

To run the application, right click on AquilaServerApplication.java and select Run As -> Java Application. Open the URL http://localhost:8080/api/users in a browser and you should see the users as a JSON array.