Install from Windows #193

pull/262/head
Jack Ivanov 7 years ago
parent eba04b3c91
commit 71b3b5ac46

@ -35,10 +35,12 @@ The easiest way to get an Algo server running is to let it set up a _new_ virtua
macOS: `sudo easy_install pip`
Linux (deb-based): `sudo apt-get update && sudo apt-get install python-pip python-setuptools build-essential libssl-dev libffi-dev python-dev -y`
Linux (deb-based): `sudo apt-get update && sudo apt-get install python-pip python-setuptools build-essential libssl-dev libffi-dev python-dev python-virtualenv -y`
Linux (rpm-based): See the [Pre-Install Documentation for RedHat/CentOS 6.x](docs/pre-install_redhat_centos_6.x.md)
Windows: See the [Windows documentation](docs/WINDOWS.md)
4. Configure and initialize a python virtual environment to manage Algo's python dependencies. Again from the directory where you have downloaded Algo, run:
`virtualenv env && source env/bin/activate && pip install -r requirements.txt`

@ -0,0 +1,29 @@
# Windows
## How to run Algo on Windows 10
Before run Algo, you have to have:
* Windows 10 (Anniversary update or later version)
* 64-bit installation (can't run on 32-bit systems)
Once you verify your system is 64-bit and up to date, you have to do a few manual steps to enable the 'Windows Subsystem for Linux':
1. Open 'Settings'
2. Click 'Update & Security', then click the 'For developers' option on the left.
3. Toggle the 'Developer mode' option, and accept any warnings Windows pops up.
Wait a minute for Windows to install a few things in the background (it will eventually let you know a restart may be required for changes to take effect—ignore that for now). Next, to install the actual Linux Subsystem, you have to jump over to 'Control Panel', and do the following:
1. Click on 'Programs'
2. Click on 'Turn Windows features on or off'
3. Scroll down and check 'Windows Subsystem for Linux (Beta)', and then click OK.
The subsystem will be installed, then Windows will require a reboot. Reboot, then open up the start menu and enter 'bash' (to open up 'Bash' installation in a new command prompt). Fill out all the questions (it will have you create a separate user account for the Linux subsystem), and once that's all done (it takes a few minutes to install), you will finally have Ubuntu running on your Windows laptop, somewhat integrated with Windows.
Install additional packages:
`sudo apt-get update && sudo apt-get install python-pip python-setuptools build-essential libssl-dev libffi-dev python-dev python-virtualenv git -y`
Clone the Algo repository:
`https://github.com/trailofbits/algo && cd algo`
Now, you can go through the [README](https://github.com/trailofbits/algo#deploy-the-algo-server) (start from the 4th step) and deploy your Algo server!

@ -1,3 +1,4 @@
setuptools>=11.3
ansible>=2.1,<2.2.1
dopy==0.3.5
boto>=2.5

Loading…
Cancel
Save