git clone https://github.com/sandydoo/ember-google-maps
cd ember-google-maps
pnpm install
pnpm lint
pnpm lint:fix
pnpm test
– Runs the test suite on the current Ember versionpnpm test:ember --server
– Runs the test suite in "watch mode"pnpm test:ember-compatibility
– Runs the test suite against multiple Ember versions
The dummy app and test suite is run using a live map instance, which means you need an API key. I do not provide API keys for testing – you need to generate your own.
You can create an API key by following the instructions here: Create API key.
Assign this key to the GOOGLE_MAPS_API_KEY
variable in .env
or just run these lines, making sure to replace INSERT_YOUR_KEY_HERE
with your actual key.
touch .env && echo 'GOOGLE_MAPS_API_KEY=<INSERT_YOUR_KEY_HERE>' > .env
cp .env .env.test
pnpm start
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://cli.emberjs.com/release/.
This addon modifies the components included in the final build. You can store incremental build trees t o debug the build process with the following command:
rm -rf DEBUG; BROCCOLI_DEBUG=ember-google-maps:* ember s
This will create a DEBUG
folder at the root of the project containing the source files at various sta
ges of processing.
The with-addon-factory
and post-filter
trees should likely be investigated first.