# HG changeset patch # User Ludovic Chabant # Date 1432517757 25200 # Node ID 1970e7e3a18ec6d1603da5593262d9b66fc10b36 # Parent 27b10024f8d8943de4ebd625184cde8641ce9596 docs: Add the `--pre` flag to `pip install` while PieCrust is in beta. diff -r 27b10024f8d8 -r 1970e7e3a18e docs/pages/_index.md --- a/docs/pages/_index.md Sun May 24 18:15:22 2015 -0700 +++ b/docs/pages/_index.md Sun May 24 18:35:57 2015 -0700 @@ -97,7 +97,7 @@ virtualenv pcenv - pip install piecrust + pip install piecrust --pre chef init mynewwebsite cd mynewwebsite chef prepare post my-first-post diff -r 27b10024f8d8 -r 1970e7e3a18e docs/pages/getting-started.md --- a/docs/pages/getting-started.md Sun May 24 18:15:22 2015 -0700 +++ b/docs/pages/getting-started.md Sun May 24 18:35:57 2015 -0700 @@ -9,7 +9,7 @@ > > virtualenv pcenv > -> pip install piecrust +> pip install piecrust --pre > chef init mywebsite > cd mywebsite > chef prepare post my-first-post @@ -37,7 +37,7 @@ Python 3 comes with a [package manager][2] called `pip`, with which you can install, update, and uninstall Python programs like PieCrust. Just run: - pip install piecrust + pip install piecrust --pre This will install PieCrust globally on your system. You may want to install it using a *virtual environment* instead, though. See the next section for that. @@ -45,8 +45,8 @@ > #### Permission Errors > > If you get some permission errors, you may have to run that command as an -> administrator. That would be `sudo pip install piecrust` on MacOSX and Linux, or -> running the Command Prompt as an Administrator on Windows. +> administrator. That would be `sudo pip install piecrust --pre` on MacOSX and +> Linux, or running the Command Prompt as an Administrator on Windows. You should now have PieCrust installed! You can check that it works by typing: @@ -67,17 +67,16 @@ Thankfully, `pip` supports a whole variety of scenarios, and [another utility][3], called `virtualenv` enables even more of them. -* If you don't have it yet, install `virtualenv` with `pip install - virtualenv`, or check with your administrators to have it. Most web hosts - provide it. +* If you don't have it yet, install `virtualenv` with `pip install virtualenv`, + or check with your administrators to have it. Most web hosts provide it. * Run `virtualenv pcenv`. This will create a directory called `pcenv` that contains a whole new Python environment, separate from your system's Python environment. -* Activate that environment with `sh pcenv/bin/activate.sh` (on Linux or - MacOSX) or `pcenv\Scripts\activate` (on Windows). The new environment will - now be active for as long as your current command prompt is active. -* Now install PieCrust with `pip install piecrust`. This will install it in - that environment, leaving your system's Python clean of any of PieCrust's +* Activate that environment with `sh pcenv/bin/activate.sh` (on Linux or MacOSX) + or `pcenv\Scripts\activate` (on Windows). The new environment will now be + active for as long as your current command prompt is active. +* Now install PieCrust with `pip install piecrust --pre`. This will install it + in that environment, leaving your system's Python clean of any of PieCrust's dependencies.