-
Notifications
You must be signed in to change notification settings - Fork 2
Installing on Mac
alvinl edited this page Sep 4, 2014
·
1 revision
This is a detailed guide on installing Stem on Mac OS X. If any problems arise while installing feel free to add me on Steam for help.
Stem requires Node.js v0.10.x and above. If you already have Node.js installed you can skip this section.
- If you are running a Mac you can go ahead and download the installer from Node.js's website. Just click on install to download the installer.
- Run the installer and you'll have Node.js installed. You can test your installation by running
node -v
in the Terminal to see your current version of Node
Stem has a package that requires the Command Line Tools package that comes bundled with Xcode.
- Open up the App Store app and search for Xcode.
- Install Xcode (it's free), the download may take some time.
- Open Xcode and go into its preferences.
- Click on the "Downloads" tab and install "Command Line Tools".
Now that we have everything setup we can go ahead and download the bot.
- Open up Terminal
- Run
git clone https://github.com/alvinl/stem
- Run
cd stem
to go into the bot directory. - Run
npm install
to install the packages the bot needs. - Rename the config.example.json file to config.json and edit it to your needs
- Configuration guide here
- Run
node bin/stem <path/to/config.json>
to start the bot
- Example:
node bin/stem config.json