Document installation on Windows 7
This commit is contained in:
parent
2e26adcb56
commit
05cf27af2b
1 changed files with 17 additions and 10 deletions
|
@ -29,24 +29,31 @@ still useful, but it doesn't support `.nvmrc` files.
|
||||||
|
|
||||||
Then you need `git`, if you don't have that yet: https://git-scm.com/
|
Then you need `git`, if you don't have that yet: https://git-scm.com/
|
||||||
|
|
||||||
And for the final step before we actually get started, you'll need build tools to install
|
### macOS
|
||||||
the native modules used by the application. On Windows, it's easiest to open the [Command
|
|
||||||
Prompt (`cmd.exe`) as Administrator](<https://technet.microsoft.com/en-us/library/cc947813(v=ws.10).aspx>)
|
|
||||||
and run this:
|
|
||||||
|
|
||||||
```
|
1. Install the [Xcode Command-Line Tools](http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/).
|
||||||
npm install --global --production windows-build-tools
|
|
||||||
```
|
|
||||||
|
|
||||||
On OSX you can install the [XCode Command-line tools](http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/). On Linux you'll need to take a trip to your
|
### Windows
|
||||||
favorite package manager. Python 2.x and GCC are two key necessary components.
|
|
||||||
|
1. **Windows 7 only:** Install Microsoft .NET Framework 4.5.1:
|
||||||
|
https://www.microsoft.com/en-us/download/details.aspx?id=40773
|
||||||
|
1. Install _Windows Build Tools_: Open the [Command Prompt (`cmd.exe`) as Administrator](<https://technet.microsoft.com/en-us/library/cc947813(v=ws.10).aspx>)
|
||||||
|
and run: `npm install --global --production --add-python-to-path windows-build-tools`
|
||||||
|
|
||||||
|
### Linux
|
||||||
|
|
||||||
|
1. Pick your favorite package manager.
|
||||||
|
1. Install Python 2.x.
|
||||||
|
1. Install GCC.
|
||||||
|
|
||||||
|
### All platforms
|
||||||
|
|
||||||
Now, run these commands in your preferred terminal in a good directory for development:
|
Now, run these commands in your preferred terminal in a good directory for development:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/signalapp/Signal-Desktop.git
|
git clone https://github.com/signalapp/Signal-Desktop.git
|
||||||
cd Signal-Desktop
|
cd Signal-Desktop
|
||||||
npm install --global yarn # (only if you don’t already have yarn)
|
npm install --global yarn # (only if you don’t already have `yarn`)
|
||||||
yarn install --frozen-lockfile # Install and build dependencies (this will take a while)
|
yarn install --frozen-lockfile # Install and build dependencies (this will take a while)
|
||||||
yarn grunt # Generate final JS and CSS assets
|
yarn grunt # Generate final JS and CSS assets
|
||||||
yarn icon-gen # Generate full set of icons for Electron
|
yarn icon-gen # Generate full set of icons for Electron
|
||||||
|
|
Loading…
Reference in a new issue