EcoGo is a MEVN stack application (MongoDB, Express, Vue, Node) for the ASW course of University of Bologna.
Ensure that the following software is installed on your machine before proceeding:
- Docker Desktop
- Doppler CLI : https://github.com/DopplerHQ/cli/blob/master/INSTALL.md
- Git bash
To start the application, you require a Service Token. Please request the "Public Access Token" from the project administrator.
Clone the project files to your local machine:
git clone https://github.com/schwein69/Asw-Hci.git
cd to the root path (mevn-app)
Execute the following command in your terminal, replacing YOUR_SERVICE_TOKEN with the actual token provided by the administrator.
Recommended usage with Git bash
export DOPPLER_TOKEN=YOUR_SERVICE_TOKEN
doppler run -- docker-compose up --build
For macOS and Linux (Bash/Zsh):
export DOPPLER_TOKEN=YOUR_SERVICE_TOKEN
doppler run -- docker-compose up --build
For Windows (PowerShell):
$env:DOPPLER_TOKEN="YOUR_SERVICE_TOKEN"
doppler run -- docker-compose up --build
Once the initialization process is complete, the services will be available at the following addresses:
- Frontend Application: http://localhost:8080
- Backend API: http://localhost:4000
If you encounter connection errors, please verify that:
- Docker Desktop is running.
- The DOPPLER_TOKEN environment variable was set correctly before running the command.
- Port 4000 and Port 8080 are not occupied by other applications.
Project maintainers with direct access to the Doppler project may authenticate locally without using a Service Token:
- doppler login
- doppler setup
- doppler run -- docker-compose up --build