-
Notifications
You must be signed in to change notification settings - Fork 0
feat: deploy the app to the VM #47
Conversation
|
I've now added documentation for Node, pnpm and PostgreSQL and how that was installed. I also added the Apache FallBackResource config on the VM (look documentation for why). In the documentation under "Build the frontend" the current command only works the first time it is setup. The second time project2 already exsists, and mv puts the new build inside it as project2/client/, and the site keeps serving the old version. As far as i can see this has already happened, since there is a client/ folder inside /var/www/html/project2. Suggested replacment is these two commands: sudo rm -rf /var/www/html/project2 I'll add these as suggested change, so if you agree you can just confirm them. |
Co-authored-by: Johannes Horn <johahor@stud.ntnu.no>
|
Could you deploy the frontend again with the new commands, and that checks two things: That the commands are working, and the favicon changes are working. Let me know when that is done, and I'll approve the PR |
|
Yup, everything seems to be good - ran all the frontend commands now |
|
Perfect. Checked the deployed version, and the errors in the console is gone. Approving. |
This PR adds environment variables for deployment and documentation on how to deploy the app to the VM we have been provided.