This project was generated with Angular CLI version 9.0.0-rc.7
-
Xampp (for local purposes)
-
MySql
- Content in the Xampp program
-
PHP
- Content in the Xampp program
-
NodeJS
- You should install NodeJS
-
NPM
- Install npm
- npm is installed with Node.js
- npm is distributed with Node.js- which means that when you download Node.js, you automatically get npm installed on your computer.
- Check that you have node and npm installed
node -v
- To confirm that you have npm installed you can run this command in your terminal:
npm -v
- Install npm
-
Angular (angular-cli)
- You can run this command in your terminal:
npm install -g @angular/cli
-
Go to the folder project on your computer (terminal)
-
Install packages
npm install
-
After all packages are installed
npm start
-
We need to open another terminal for comunication with the backend (PHP):
php -S 127.0.0.1:8000
-
Create a database with the following requirements:
- User:
root
- Password:
Only if you have a password in the xampp user configuration
- Name:
unilibre_db
- User:
-
Import the database from
localhost/phpmyadmin
in your web browser- The database can be found in the path of the project folder
unilibre.cpanel.reports.v2/backend/sql/unilibre_db.sql
- Import the file and the database will be uploaded
- The database can be found in the path of the project folder
-
After all this process you can visit the path in your web browser
localhost:4200
-
Go to the folder project on your computer (terminal)
-
Install packages (if you don't have the node_modules installed)
npm install
-
We need to open another terminal for comunication with the backend (PHP):
php -S 127.0.0.1:8000
-
Create a database with the following requirements (if you don't have the database installed):
- User:
root
- Password:
Only if you have a password in the xampp user configuration
- Name:
unilibre_db
- User:
-
Import the database from
localhost/phpmyadmin
in your web browser (if you don't have the database installed):- The database can be found in the path of the project folder
unilibre.cpanel.reports.v2/backend/sql/unilibre_db.sql
- Import the file and the database will be uploaded
- The database can be found in the path of the project folder
-
Run this command on your terminal (this command generates a production folder called app):
ng build --prod
-
After the production folder was generated can be found in the path of the project folder
unilibre.cpanel.reports.v2/app
-
Copy the contents of the folder and paste into the path
C:\xampp\htdocs
or where you have installed xampp -
After all this process you can visit the path in your web browser
localhost/app
Administrator role:
- User:
[email protected]
- Password:
1088025076_dev
Generator role:
- User:
[email protected]
- Password:
1225088503
You have to start the MySQL and APACHE server from XAMPP.
- Juan Diego Castaño Franco Systems engineer student
- Johan Esteban Corrales Aguirre Systems engineer student
A mobile first design of a responsive admin template built with angular and bootstrap by Mohamed Azouaoui and this code is released under the MIT license