Skip to content

Development Environment

Adam edited this page May 20, 2020 · 3 revisions

Connecting the back end

  1. Go to src/data/env.ts
  2. Uncomment // API_URL: "https://dev.progressiveapp.store/api",
  3. Comment out API_URL: "/api",
export const vars = () => ({
  env: {
    //local
    API_URL: "https://dev.progressiveapp.store/api",
    //prod
    //API_URL: "/api",
    APP_SERVER_KEY:
      "BDH7_PrAmOw8oUj_NfGpUVVmwr70jUx5XY_l21P80qhBxaTGHbmxZA38O31R99oi6bcUpPDOZOBL7JKNYFkF2wo",
  },
})

Ionic

Make sure you have the ionic cli installed.

npm install -g @ionic/cli

To serve the site locally:

ionic serve
Clone this wiki locally