Updating
If you had followed the setup guide, you'll have installed Spacebar using Git.
Thus, you can update the server by running git pull
in the spacebar-server
directory.
If you had made any changes locally, you may run into merge conflicts,
where the Spacebar team has made changes to the same code you changed. If it's not important to you, you can simply run git reset --hard HEAD
which will delete all your changes. If you want to keep them, you'll have to go through each conflict and resolve them.
After downloading the new version, go through the setup guide as normal again:
# Install any new javascript packages
npm i
# Build and generate schema
npm run setup
# Start the server
npm run start