mantasmaciulis / TryLinks-2023

UG4 Project
1 stars 0 forks source link

feat(cicd): Implement CI/CD pipeline, configure deployment (#12) #13

Closed mantasmaciulis closed 11 months ago

mantasmaciulis commented 11 months ago

This should have been removed earlier, a replacement will need to be found eventually. It was causing build issues as it is not compatible with angular 16.

This is needed as we will have a develop and prod environment, and this branch will be merged into develop eventually.

This incorporates nginx and pm2 for improved server management and deployment. pm2 allows for automatic restarts and eventually load balancing.

Fixes a really strange error where for an identical setup:

ng build --configuration production fails with ng not found even tho 'dev' works, weirdly changing the naming fixes this, may be due to an alias or soemthing similar.

-This was previosly the feature branch for testing purposes.