Rad is a music server similar to spotify or a music only plex under development by the SRace team.
-
You will need an instance of
mongodb
for the server to connect to. In the server folder there is a docker-compose file which you can use to create a container for mongodb and mongo-express -
ffmpeg
andffprobe
are required to get the duration from the audio files. Add the path to the executables for these in the next step -
Copy the
.env.sample
file to a.env
file and fill in the appropriate values for your environment -
Make sure you have all the necessary dependencies:
cd server && npm install
-
Run the server in development mode using:
npm run dev
-
Make sure you have all the necessary dependencies:
cd client && npm install
-
Make sure you've set up the server according to the README in the root or server sub-directory
-
npm start
Runs the app in the development mode (ensure the server is already running). Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!