Seperate update and setup script !!! Fuck !!!
This commit is contained in:
parent
1804c187b5
commit
add9082d91
3 changed files with 5 additions and 3 deletions
|
@ -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
4
setup.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
touch last_song.txt
|
||||||
|
mv .env.example .env
|
||||||
|
npm i
|
|
@ -1,4 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
touch last_song.txt
|
|
||||||
mv .env.example .env
|
|
||||||
git pull && npm i
|
git pull && npm i
|
Loading…
Reference in a new issue