Install Grok on MS Windows
This How-to applies to:
This How-to is intended for: Any audience.
You can install the software in a folder for which you have write access rights. If you want all users on your machine to be able to run Grok, make sure you have administrator rights during the installation.
Open up a command window and change to the folder where you want to place the sandbox that will contain your Grok project(s). In this HowTo we will assume this folder is C:\
Install virtualenv by using the command:
NOTE: As of Grok 1.2, you do not need to use virtualenv. Grok is automatically isolated from the system python environment.
Create an isolated environment (sandbox) using the command:
where you substitute <grok_sandbox> with your name of choice for the sandbox.
Activate the environment:
cd <grok_sandbox> Scripts\activate
Obtain grokproject, the tool that will download and install Grok for you. It will also create a Grok project for you to get you started:
Set up your project.
Use the grokproject tool to set things up for you:
Where you substitute <project_name> with your name of choice for the project.
Answer the questions.
Starting up Grok
Start the server:
cd <project_name> bin\paster serve parts\etc\deploy.ini
Visit Grok's applications page to see what you have achieved!