Skip to content
Simon Koch edited this page Jul 15, 2018 · 1 revision

The web server and the repository are not connected.

💡 The repository holds the complete project with editable sources and build tools.
💡 On the web server only the distributable files like compiled code and the content are needed.

Pre steps

⚠️ You need the file upload.config.json stored in the project folder.
This file contains the server login data. For security reasons the file is not saved in the repository but available by request via the website admin.

Upload your changes

To upload your changes to the web server follow these steps:

  • Open Terminal app
  • Switch to your project folder with cd path/to/your/folder/felixwiedemann
  • Run npm run upload
    • This may take some minutes depending on how many assets need to be uploaded
    • If you get an error message read the pre steps because the upload.config.json might be missing

When you see the message Finished 'ssh:deploy' after x ms the upload is completed 👏

You can now open the browser with the website url and check the changes (clearing the browser cache might be needed).

Clone this wiki locally