Seperate update and setup script !!! Fuck !!!

This commit is contained in:
MeowcaTheoRange 2024-02-22 06:14:49 -06:00
parent 1804c187b5
commit add9082d91
3 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@ Downloader from Last.fm scrobble to MP3 file. Uploads to Nextcloud because it ca
To install LastFMDownloader, you need to run `git clone` in the path you desire. The program does not require root privileges, so your user's home folder will suffice. To install LastFMDownloader, you need to run `git clone` in the path you desire. The program does not require root privileges, so your user's home folder will suffice.
After you have cloned the application, run `./update.sh` in order to pull the latest version and install the required npm packages. Now, LastFMDownloader can be set up. After you have cloned the application, run `./setup.sh` in order to install the required npm packages. Now, LastFMDownloader can be set up.
### .env file ### .env file
Here's `.env.example` in its entirety. We will go through each section, filling out each variable as we go. Here's `.env.example` in its entirety. We will go through each section, filling out each variable as we go.

4
setup.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
touch last_song.txt
mv .env.example .env
npm i

View file

@ -1,4 +1,2 @@
#!/bin/bash #!/bin/bash
touch last_song.txt
mv .env.example .env
git pull && npm i git pull && npm i