feat: ♻️ Remake url #3

Merged
lgallet merged 11 commits from feat/refactoring into main 2024-07-01 15:55:10 +00:00
3 changed files with 8 additions and 4 deletions
Showing only changes of commit 3f8489b0ad - Show all commits

View File

@ -1,4 +1,5 @@
client_id=
client_secret=
n8n_webhook=
n8n_webhook_add_tracks=
n8n_webhook_create_playlist=
enviroment=dev

View File

@ -10,13 +10,15 @@ Make This Playlist is a web application that allows anyone to add music to a Spo
## Installation
### Docker
You can install the application via Docker. To do this, execute the following command:
You can install the application via Docker. To do this, execute the following command:
For the webhook URLs, make sure to remove the parameters, as they will be added directly by the application.
```bash
docker run -d \
-p 80:3000 \
-e client_id=SPOTIFY_CLIENT_ID \
-e client_secret=SPOTIFY_CLIENT_SECRET \
-e n8n_webhook=N8N_WEBHOOK_URL \
-e n8n_webhook_create_playlist=N8N_WEBHOOK_URL \
-e n8n_webhook_add_tracks=N8N_WEBHOOK_URL \
gitea.louisgallet.fr/lgallet/makethisplaylist:latest
```
@ -26,5 +28,6 @@ To install the application manually, clone the repository and install the depend
git clone https://gitea.louisgallet.fr/lgallet/makethisplaylist.git
cd makethisplaylist
pip install -r requirements.txt
cp .env.example .env
python main.py
```

View File

@ -30,7 +30,7 @@
<input type="text" class="form-control" name="roomName" placeholder="Room name" />
<small id="roomNameHelp" class="form-text text-muted">This will be the playlist name</small>
</div>
<button type="submit" class="btn btn-success">Create (require a Spotify account)</button>
<button type="submit" class="btn btn-success">Create</button>
</form>
</div>
</div>