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