A asset hosting platform for Beat Saber.
To run the server, you must have a instance of PostgreSQL & a database ready for the server to use. If you do not provide Discord OAuth2 credentials, the server will disable authentication and will not allow sign-ins. The importer also requires a Discord bot token in order to make API requests to get users when running the ModelSaber importer.
- Pull the frontend and backend images.
- Look at the
docker-compose.example.ymlfile for an example of how to set up the server with Docker Compose. - Copy the
docker-compose.example.ymlfile todocker-compose.ymland fill in the environment variables. - Run
docker-compose up -dto start the server.
- Clone the repository.
- Navigate to the
backendfolder. - Install the dependencies using
yarn. - Copy the
.default.envfile to.envand fill in the environment variables. - Navigate to the
frontendfolder. - Install the dependencies using
yarn. - Copy the
.default.envfile to.env.
The backend server stores all of its data in a folder called storage. If you are using docker, this folder is located at /app/storage. If you are running the server locally, it is located in the root directory of the backend folder (same folder that build & src are).