Skip to content
Snippets Groups Projects
Verified Commit 0c5b3e94 authored by Jonas Zohren's avatar Jonas Zohren :speech_balloon:
Browse files

Some README infos

parent 73613161
No related branches found
No related tags found
No related merge requests found
# create-svelte
# MP3 Experiment Player
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
WebApp to play an mp3 file in sync at a specific time
## Creating a project
If you're seeing this, you've probably already done this step. Congrats!
```bash
# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app
```
![Screenshot of WebApp](./screenshot.png)
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
You'll need at least Node 16 installed on your computer.
```bash
npm run dev
# Install pnpm if you don't have it already:
corepack enable
corepack prepare pnpm@latest --activate
# Clone this repo:
git clone git@gitlab.fachschaften.org:jfowl/mp3-experiment-player.git
cd mp3-experiment-player
# or start the server and open the app in a new browser tab
npm run dev -- --open
# Install dependencies:
pnpm install
# Run dev server
pnpm run dev
```
## Building
To create a production version of your app:
To create a production version:
```bash
npm run build
pnpm build
```
You can preview the production build with `npm run preview`.
The output lives in the `public/` directory.
## License
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
This project is licensed under the MIT License.
screenshot.png

171 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment