Migrating from Staging
If you were using SQLite, you will be unable to migrate to the new version. SQLite is primarily for testing and development purposes, and it should not be used for production.
To migrate from Staging:
- Download the new version of spacebar-server
git clone https://github.com/spacebarchat/server.git
- Copy your
.envfile from your previous installation to the new
- Copy any user data, specifically the
filesdirectory, to the new project root.
npm iin new installation
npm run setup
npm run migrate-from-stagingto run the migrations on your database
npm run startto start the server
Make sure you modify any existing scripts of yours to use the new path, or just rename the old one and move the new one in its place.