About • Technologies • Installation • Contributing • License
HumanaEthica is an open-source broker that aims to connect charities and non-profit organizations with volunteers.
Install
sudo apt update && sudo apt upgrade
sudo apt install openjdk-21-jdk postgresql
Start db, change to postgres user and create DB
sudo service postgresql start
sudo su -l postgres
dropdb hedb
createdb hedb
Create user to access db
psql hedb
CREATE USER your-username WITH SUPERUSER LOGIN PASSWORD 'yourpassword';
\q
exit
Rename backend/src/main/resources/application-dev.properties.example
to application-dev.properties
and fill its fields
Run server
cd backend
mvn clean spring-boot:run
See documentation on http://localhost:8080/swagger-ui.html
Rename frontend/example.env
to .env
and fill its fields
Run frontend
cd frontend
npm i
npm start
Access http://localhost:8081
The following video shows how setup when you install the software in your machine. Requires the software mentioned above.
Install Docker in you machine.
Copy data/access.log.example to data/access.log
cp data/access.log.example data/access.log
Copy data/access.log.example to data/access.log
cp data/error.log.example data/error.log
Build HumanaEthica in project top directory, where docker-compose.yml is
docker-compose build
Run HumanaEthica
docker-compose up frontend
Shutdown HumanaEthica
docker-compose down
An easy way to obtain a working development environment is to use the development container provided (see folder .devcontainer
). This requires Docker.
The following video shows how to setup the dev container using IDE IntelliJ IDEA (Ultimate Edition).
Your contributions are always welcome!
This project is licensed under the MIT License - see the LICENSE file for details.