Sample project that shows climatological values of the Spanish stations in a range of specific dates.
Before you go through this example, you should have at least a basic understanding of Ionic concepts. You must also already have Ionic installed on your machine.
- Test in localhost:
To run it, cd into ionic-opendata-aemet
and run:
npm install
ionic serve
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
npx cap add ios
npx cap add android
Every time you perform a build (e.g. npm run build) that changes your web directory (default: www), you'll need to copy those changes down to your native projects:
npx cap copy
npx cap open ios
npx cap open android
Run ng test
to execute the unit tests via Karma.
// TODO: Add cypress