-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Installation: Windows
Wenzel Kuhn edited this page May 14, 2022
·
31 revisions
- Download & Install Node.js 14
- Download & Install git
- Open Windows Comand Prompt
- Type
CD C:\
to change directory to the root C: drive - Type
git clone https://github.com/jef/streetmerchant.git
- Type
CD streetmerchant
- Type
npm install
- Navigate to the newly created
C:\streetmerchant\
in Windows Explorer - Type
COPY dotenv-example dotenv
- Edit
dotenv
file to your liking using notepad or similar and save- More on this on https://jef.codes/streetmerchant/getting-started/#customization
- In Windows Command Prompt type
npm run start
from theC:\streetmerchant\
directory
At any point you want the program to stop, use Ctrl + C.
- End the bot by pressing Ctrl + C.
- Type
git pull origin main
- Type
npm install
(only required if there are new dependencies) - Type
npm run start
This is required to make audio notifications work in Windows
- Download cmdmp3 binaries
- Extract all .exe files directly into your
C:\streetmerchant\
- Place your notification sound in your
C:\streetmerchant\
- Update your
dotenv
to includePLAY_SOUND=soundname.wav
(supported file types: wav, mp3, flac) - Save your
dotenv
- Restart the bot with Ctrl + C then
npm start run
It may be helpful to show file extensions. Winzip has a good article on this.
For further customization, visit the https://jef.codes/streetmerchant/getting-started/#customization for the most up-to-date settings.
↩️ Go back to Home