Onux – Angular Template Documentation

Local Environment Installation

Local Environment Installation

Before starting this, please look at this requirements link and make sure, then go to the below.

Static Version

Open the onux-static/onux-ng folder in Visual Studio Code and open a terminal on that folder and run these commands one by one.

  1. npm install
  2. ng serve
  3. Go To localhost:4200
  4. Done

Dynamic Version

Strapi CMS

  1. Open the onux-with-strapi/onux-api and update the config/plugin.js file as the cloudinary credentials.
  2. config/database.js and update your PostgreSQL credentials.
  3. Create a database named onux-api and restore the onux-api-data from the downloaded bundle.
  4. npm install
  5. npm run develop
  6. Go To localhost:1337
  7. Login by the credential Email: [email protected] Password: onux1EnvyTheme
  8. Done

Angular Frontend

Open the onux-with-strapi/onux-strapi folder in Visual Studio Code and open a terminal on that folder and run these commands one by one.

  1. npm install
  2. ng serve
  3. Go To localhost:4200
  4. Done