This is the base Express which is embedded in the docker image when a new webstore is provisioned.
yarn
test/*.bats
| branch | docker tag |
|---|---|
| master | latest |
| tag: v{X.X.X} | {X.X.X} |
| branch: uat/{feature-name} | uat-{feature-name} |
First update the build locally:
# Update packages
bundle update mno-enterprise
bin/rake mnoe:frontend:update mnoe:admin:update
# Commit the packages
git add -u *.lock
git commit -m "Bump packages"
# Commit the build
git add public/dashboard public/admin
git commit -m "Rebuild frontend"
Merge this in the feature/docker-img branch
And follow the build at: https://cloud.docker.com/app/maestrano/repository/docker/maestrano/opal-webstore/builds
Once the build is finished, connect to the compute racks and:
sudo docker pull maestrano/opal-webstore
For I18n testing, we use a "dummy" locale which contains randomly generated translations. To update this locale, follow these instructions:
# Generate the YAML locale file
$ bin/rails console
> g = MnoEnterprise::Frontend::LocalesGenerator.new('./')
> g.generate_dummy
--> Generated ./dummy.zh.yaml
$ mv ./dummy.zh.yaml config/locales/zh-ZH.yml
# Regenerate the frontend locales
$ bin/rake mnoe:locales:generate
$ git add -u config/locales/ public/dashboard/locales/
$ git commit -m "Refresh locales"
Content type
Image
Digest
Size
1 GB
Last updated
over 7 years ago
docker pull maestrano/opal-webstore