mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 04:31:05 +00:00
Updated get_started to mention python
This commit is contained in:
parent
78b969275b
commit
9837823907
1 changed files with 14 additions and 3 deletions
|
|
@ -5,16 +5,27 @@ Get Started
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Linux / OS X
|
Linux
|
||||||
~~~~~~~~~~~~
|
~~~~~~
|
||||||
Run ``npm install discord.js --save`` in your project's directory and you should be good to go!
|
|
||||||
|
Install Python 2.x.x and then run ``npm install discord.js --save`` in your project's directory and you should be good to go!
|
||||||
|
|
||||||
|
OS X
|
||||||
|
~~~~
|
||||||
|
|
||||||
|
Python 2.x.x and **potentially** X Code, try building without first.
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
**TL;DR You need Visual Studio Community and Python 2.x.x**
|
||||||
|
|
||||||
Unfortunately, the Windows installation process is a little more lengthy. You need to have `Visual Studio Express`_ (or any of the other distributions of it). This is necessary for build tools for the WebSocket dependency.
|
Unfortunately, the Windows installation process is a little more lengthy. You need to have `Visual Studio Express`_ (or any of the other distributions of it). This is necessary for build tools for the WebSocket dependency.
|
||||||
|
|
||||||
.. note:: If you are using another version of Visual Studio, such as 2012, replace the flag with ``--msvs_version=2012``
|
.. note:: If you are using another version of Visual Studio, such as 2012, replace the flag with ``--msvs_version=2012``
|
||||||
|
|
||||||
|
After you have installed Visual Studio, you then need to install any Python setups that are version 2.
|
||||||
|
|
||||||
After you have obtained these tools, you need to run ``npm install discord.js --save --msvs_version=2015`` in your working directory. Hopefully this should all go well!
|
After you have obtained these tools, you need to run ``npm install discord.js --save --msvs_version=2015`` in your working directory. Hopefully this should all go well!
|
||||||
|
|
||||||
Cloning the Repo
|
Cloning the Repo
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue