This project is bootstrapped by aurelia-cli. For more information, go to https://aurelia.io/docs/cli/webpack
- environment.json.sample : environment.json
- environment.production.json.sample : environment.production.json
- environment.staging.json.sample : environment.staging.json
- Clone repo :
git clone repoUrl
- Run
npm install
for installing all packages - Run
npm run start:stage
, then openhttp://localhost:8082
in your browser
- Clone plugin repo at the same level as this repo :
cd ..
git clone https://github.com/bimaps/aurelia-three.git
- Example of structure :
- /web/bimetat-app
- /web/aurelia-three
- In aurelia-three run
npm install
- npm link ..\aurelia-three\
- In bimetat-app edit config :
webpack.config.js
- Line 4 :
const useSrcFor = ['aurelia-three'];
- Run
npm run start:stage
, then openhttp://localhost:8082
in your browser
Run npm run build
- Run
npm install
- Run
npm run build
- Build Docker, for example :
docker build -t bimetat-app . docker tag bimetat-app:latest bimetat-app:$VERSION docker push bimetat-app:$VERSION docker push bimetat-app:latest
- Start container
docker run --restart always --name bimetat -p 80:80 -d --network=sdionet -e HOST=${urlAPI:3000} bimetat-app
- Change API URL in Docker App run :
docker exec -it bimetat sh /docker-host.sh