Root for the new elewa education website https://elewa.education
To get a local copy up and running, please follow these simple steps.
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
-
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
-
Go to the project folder
cd elewa-website
-
Install packages with npm
npm i --legacy-peer-deps
-
Set up your
.env
file- Navigate into the environments directory
apps/elewa-website/src/environments
- Duplicate and then Rename
environment.ts.example
toenvironment.ts
- Duplicate and then Rename
environment.prod.ts.example
toenvironment.prod.ts
- Navigate into the environments directory
-
Start the dev server (this will run your app as an SPA)
nx serve
-
You can also server render your app.
npm run dev:ssr