Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.35 KB

README.md

File metadata and controls

70 lines (45 loc) · 1.35 KB

Elewa-website

Root for the new elewa education website https://elewa.education

Built With

Getting Started

To get a local copy up and running, please follow these simple steps.

Prerequisites

Here is what you need to be able to run the ElewaEducation Website.

  • Node.js
  • npm
  • AngularCLI (run the command below to install globally)
 npm install -g @angular/cli 
  • Nx (run the command below to install globally)
 npm i -g nx 

Setup

  1. Clone the repo into a public GitHub repository (fork https://github.com/italanta/elewa-website/fork).

    git clone https://github.com/{yourusername}/elewa-website.git
  2. Go to the project folder

    cd elewa-website
  3. Install packages with npm

    npm i --legacy-peer-deps
  4. Set up your .env file

    • Navigate into the environments directory apps/elewa-website/src/environments
    • Duplicate and then Rename environment.ts.example to environment.ts
    • Duplicate and then Rename environment.prod.ts.example to environment.prod.ts
  5. Start the dev server (this will run your app as an SPA)

    nx serve
  6. You can also server render your app.

    npm run dev:ssr