LMS/E-Learning-Admin-frontend-main/README.md
2025-09-01 19:37:35 +05:30

30 lines
1.5 KiB
Markdown

# E-Learning-Admin-frontend
# https://admin.a-phy.com
Step 1: Install Node.js
To use Angular, Node.js must be installed on your machine. Please download the latest version of Node.js from the official website: https://nodejs.org/en/download/ (select Node.js version 16 or higher).
Step 2: Install Angular CLI
The Angular CLI (Command Line Interface) is a tool used for creating and managing Angular projects. To install the Angular CLI, simply open a terminal or command prompt and enter the following command:
npm install -g @angular/cli (currently our angular version is 9.1.11)
Step 3: Install project dependencies
Go to the project directory and execute the following command to install the necessary project dependencies:
npm install
Step 4: Run the project
Once the dependencies are installed, run the project using the following command:
ng serve
This will compile the project and start a local development server at http://localhost:4200/. Open a web browser and navigate to http://localhost:4200/ to view the application
That's it! You should now be able to run the existing Angular code on your local machine.
Step 5: Build Angular Project
Build your Angular application using the CLI. Run the following command:
npm run prod
This command will generate a build of your application in the 'dist' folder within your project directory. After the build process is complete, you can deploy your application by copying the contents of the 'dist' folder to your web server or cloud hosting service.