https://github.com/borisskert/docker-angular
Example to show how inject environment variables from a running docker container into an angular application
https://github.com/borisskert/docker-angular
Last synced: about 2 months ago
JSON representation
Example to show how inject environment variables from a running docker container into an angular application
- Host: GitHub
- URL: https://github.com/borisskert/docker-angular
- Owner: borisskert
- License: apache-2.0
- Created: 2019-11-08T08:54:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-01T21:06:32.000Z (almost 6 years ago)
- Last Synced: 2025-06-05T05:26:13.384Z (4 months ago)
- Homepage:
- Size: 635 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# example-angular
## Project structure
| sub-folder | description |
|------------|-------------|
| [./angular-docker](angular-docker/README.md) | project which shows how to integrate docker containers's environment variables into angular |## Doing a release
### Preparation
* Change to latest state of `develop`-branch:
```bash
$ git checkout develop && git pull
```* Pull the initial or latest release-scripts from git-submodule:
```bash
$ git submodule init
$ git submodule update
```* Run the release-script:
```bash
$ ./release-scripts/release.sh ${RELEASE_VERSION} ${NEXT_VERSION}
```For example, if you want to release version `3.2.1` and want the next SNAPTSHOT version in your pom set to `3.3.0-SNAPSHOT`, you have to run following command:
```bash
$ ./release-scripts/release.sh 3.2.1 3.3.0
```Consider [release-scripts documentation](https://github.com/borisskert/release-scripts).
The release-script will NOT push anything into remote automatically but it will perform some commits, merges and will create a git tag.* The release-script will inform you about how to push the changes into the remote. The command looks like the following:
```bash
$ git push --atomic ${REMOTE_REPO} ${MASTER_BRANCH} ${DEVELOP_BRANCH} --follow-tags
```* Travis will perform the build of the docker-image automatically. Have a look at the progress here: [example-angular on travis](https://travis-ci.com/adorsys/example-angular)