Skip to content

Latest commit

 

History

History
86 lines (58 loc) · 1.95 KB

README.md

File metadata and controls

86 lines (58 loc) · 1.95 KB

AMACSS Database

Going to write the description soon, too lazy rn

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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

Running the application

  1. Clone the repo, then cd into it. Windows users should use dir.
git clone https://github.com/amacss-utsc/amacss_database
cd amacss_database
  1. Install Maven dependencies.
mvn install
  1. Make sure the mongo service is started, and create your database with an arbitrary collection.
Uh idk I just use MongoDB Compass for this
  1. 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
  1. Run the application.
mvn exec:java

Built With

Authors

See also the list of contributors who participated in this project.