Going to write the description soon, too lazy rn
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need: Java 8, MongoDB and Maven.
Mac
brew update
brew install maven
brew install mongodb
brew cask install homebrew/cask-versions/adoptopenjdk8
Linux distributions based on Debian
sudo apt update
sudo apt install maven
sudo apt install -y mongodb
apt install openjdk-8-jre-headless
Windows
Go download each package individually, double click them to install. Make sure to set path variables for Maven and Java
- Clone the repo, then cd into it. Windows users should use
dir
.
git clone https://github.com/amacss-utsc/amacss_database
cd amacss_database
- Install Maven dependencies.
mvn install
- Make sure the mongo service is started, and create your database with an arbitrary collection.
Uh idk I just use MongoDB Compass for this
- Configure the applications.properties file. It should look something like this, where the database is whatever name you chose in the previous step.
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=amacss
- Run the application.
mvn exec:java
- Richard Hong - H-Richard
See also the list of contributors who participated in this project.