*OBS: you need to be connected to NTNU VPN or use NTNU Network
## Timesheet
## Timesheet
The timesheet is uploaded on Blackboard too.<br>
The timesheet is uploaded on Blackboard too.<br>
...
@@ -34,7 +36,7 @@ The website was made using multiple different components composed together on on
...
@@ -34,7 +36,7 @@ The website was made using multiple different components composed together on on
We tried to design it as simple and intuitively as possible so that any user will be able to use the website.
We tried to design it as simple and intuitively as possible so that any user will be able to use the website.
## Deployment
## Deployment
We deployed the app to gitlab using CI pipeline by creating and adding gitlab-ci-yml file to the project. The CI pipeline works in our project, and the deployed website is linked at the top. The client was buildt simply using `npm run build`. However, the server side had to be compiled manually using TypeScript instead of nodemon to build. Then, we moved the project files over to the VM. Finally, we could run the server using the Library 'NoHup' instead of nodemon for the server to complete the pipeline and keep running.
We deployed the client APP into NTNUs users server by createing an Apache server and pushed the build folder directly to /tmp folder (Using SSH) and then copied to /var/www/html/ folder. For the server, we have used "forever" for running the server. We manualy uploaded server files to ntnuhome folder and then by "tsc src/server.ts" tried to build/convert the .ts files to .js files. Finally "forever start src/server.js" has started the server.