This project was generated with Angular CLI version 17.3.5.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
To pull the docker image, you need to create a personal github token (Github -> Setting -> Developer Settings -> Personal Access Token -> Token Classic)
then run docker login ghcr.io, type in your username and then the token you previously created.
After successfully logging in, run docker run -p 4200:4200 ghcr.io/sabaawi7/paco:latest to pull/run the latest version of the app. Once it runs, you can access the web app on your browser by navigate to http://localhost:4200/
This repository contains the frontend of the application. To run both the frontend and the backend, follow these steps:
-
Clone this repository and the backend repository:
git clone https://github.com/Sabaawi7/paco git clone https://github.com/Sabaawi7/pacoBackEnd
-
Open a terminal and create a Docker network:
docker network create my_network
-
Navigate to each repository and run the following commands:
docker-compose build docker-compose up
-
Ensure both frontend and backend are running. The backend repository can be found at pacoBackEnd. Access the frontend at
http://localhost:4200/and the backend athttp://localhost:8000/admin.