prepare

Before you create a virtual environment, note the following:

  • You can't easy move a created virtual environment into a other directory, after creating them! This is a limitation of virtualenv, see also: make environment relocatable
  • You should install something like "MySQLdb", "flup" via package management before creating the environment. See: troubleshooting

bootstrapping

To create a PyLucid virtual environment use our boot script (from: github.com/jedie/PyLucid-boot):

1
2
3
4
5
# get PyLucid boot script:
/home/FooBar$ wget --timestamp https://raw.github.com/jedie/PyLucid/master/bootstrap/pylucid-boot.py

# Create the PyLucid virtual environment:
/home/FooBar$ python pylucid-boot.py PyLucid_env

The environment would be created here:

  • /home/FooBar/PyLucid_env/

PyLucid bootstrap

Input 1 on this menu:

1
2
3
4
5
6
7
8
9
/home/FooBar$ python pylucid-boot.py PyLucid_env
...

Please select how the pylucid own projects should be checkout:

(1) normal installation
(2) developer installation

Please select: (1/2) (default: normal)

Note: You can only use the dev. installation ("2") if you have git write access to PyLucid repositories!

after creation

After creation you will find these two files:

  • /home/FooBar/PyLucid_env/PyLucid_pip.log
  • /home/FooBar/PyLucid_env/create_page_instance.sh

There exist only the log file, if something goes wrong.

Now you must create a new page instance with create_page_instance.sh

next step

After the done all these steps here, go to: