This project was generated with Angular CLI version 16.2.9.
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.
Before deploying the Portal with Docker, ensure that you have the following installed:
Ensure their versions are:
- Docker: Docker v26.1.2
- Docker Compose: Docker Compose v2.1.1
Create an .env
file and set the following value:
SERVER_PORT=5000
-
Build and Run Containers:
Open a terminal in the root directory of your Angular project and execute the following commands:
docker-compose build docker-compose up -d
-
Access the Portal:
Once the containers are running, access the Portal by navigating to
http://localhost:5000/notifications
in your web browser. If you specified a different port in yourdocker-compose.yml
file, adjust the port number accordingly. -
Stop the Containers:
To stop the running containers, use the following command:
docker-compose stop
- Customize the
docker-compose.yml
file if you need to adjust port mappings or other configurations. - If your application relies on additional environment variables, you can set them in the
.env
file in the same directory as yourdocker-compose.yml
file.
We welcome contributions from the community! If you're interested in contributing to the OsmoX, please take a moment to review our Contribution Guidelines.
Your contributions help make our app even better. Whether you're a developer, designer, or just enthusiastic about enhancing user experiences, we'd love to have you on board.
Before you get started, please familiarize yourself with our guidelines to ensure a smooth collaboration process.
This project is licensed under the MIT License - see the LICENSE file for details.