-
Run
mvn clean package -P local -DsecretProperty=@secretProperty@ -
Start docker for the database with:
docker run --name webshop3d -p 5432:5432 -e POSTGRES_DB=webshop3d -e POSTGRES_PASSWORD=password -d postgres:alpine
-
run the class Webshop3dApplication
-
check application working http://localhost:5000/api/version
- Run
mvn clean package -P dev -DsecretProperty=@secretProperty@
- Run
docker-compose up
- check application working http://localhost:5000/api/version
-
check if the configuration file exists in .elasticbeanstalk/config
-
Run
mvn clean package -P prd -DsecretProperty=@secretProperty@
-
Run
eb deploy
-
check application working /api/version
- docker build -t 3d-webshop .
- docker tag "image-id" ahmed83/webshop3dapp:latest
- docker push ahmed83/webshop3dapp
- change the file: docker-compose-hub.yml to docker-compose.yml
- then: docker-compose up