A simple way to view, share and compare map layers.
- Vagrant 2.1+
- VirtualBox 5.2+
- Ansible 2.4+
Install the application and all required dependencies.
./scripts/setup
Start Webpack development server.
vagrant ssh
./scripts/server
Service | Port |
---|---|
Webpack Dev Server | 4567 |
Lints the application source code with eslint
.
./scripts/test
Name | Description |
---|---|
cibuild |
Build project for CI |
console |
Run interactive shell inside application container |
server |
Run Webpack development server |
setup |
Provision Vagrant VM and run update |
test |
Run linters |
update |
Install project dependencies |
To add a new NPM package to the project:
- manually add the package to the project's
package.json
file, ensuring that you pin it to a specific version - add the package to the
vendor
array inwebpack.developer.common.config.js
orwebpack.marketing.common.config.js
- run
./scripts/update
in the VM - commit the changes to the following files to git:
package.json
,yarn.lock
, and eitherwebpack.developer.common.config
orwebpack.marketing.common.config