Welcome to the engine room of MyMusic, where all the technical magic happens to ensure your music experience is smooth and enjoyable.
Navigate to the src/Edge.MyMusic
directory and run:
$ dotnet run
-inmemory
: Enables the use of in-memory datastore.
$ dotnet run -inmemory
-webapp
: Empowers the backend to embed the frontend.- Note: Make sure to place the frontend in the
wwwroot
folder for it to work.
- Note: Make sure to place the frontend in the
$ dotnet run -webapp
--audios
: Specify the folder or file path for your audio files. This enables you to seamlessly embed the files in the server for efficient access.
$ dotnet run --audios=path/to/folder/or/file
--base-url
: Specifies the base URL for the server. If not provided, the default ishttp://localhost:5000
.
$ dotnet run --base-url=https://www.mymusic.com
Execute the following command:
$ dotnet test