-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWindows-steps.txt
52 lines (27 loc) · 1.41 KB
/
Windows-steps.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
0. Install https://strawberryperl.com/
* Without git:
1. Create a new folder on the Desktop called 'audio-player'.
2. Create a folder under this called 'public'.
3. Save the 'audio-player2', 'cpanfile' and 'public/style.css' files to the Desktop audio-player (and public) folder.
https://raw.githubusercontent.com/ology/audio-player/main/audio-player2
https://raw.githubusercontent.com/ology/audio-player/main/cpanfile
https://raw.githubusercontent.com/ology/audio-player/main/public/style.css
4. Open the program "Perl (command line)", which is basically a cmd prompt, *as* the Administrator.
5. Change directory to where the audio-player lives. Type:
cd C:\Users\you\Desktop\audio-player
6. Install the app dependencies. Type:
cpanm --installdeps .
7. Create a shortcut to your music files, called 'Audio', under the public subdirectory. Type:
mklink /D C:\Users\you\Desktop\audio-player\public\Audio "X:\My Music"
8. Start the webserver! Type:
morbo audio-player2
9. Browse to http://127.0.0.1:3000/refresh and hit the "Next" track button.
(Remember to "Allow audio and video" for this site, in your browser security settings - usually an icon left of the URL.)
~~~
* With git:
1. Open the program "Perl (command line)" *as* the Administrator.
2. Type:
cd C:\Users\you\Desktop
git clone https://github.com/ology/audio-player.git
cd audio-player
3. Follow the above steps, starting with #6.