- You have skeletonz_svn and you know the path to it
- You have created another directory called my_sk_page or similar
To make it a bit easier let's say you checked out skeletonz_svn on your desktop. Your path would be:
Your my_sk_page is also on your desktop, so its path would be:
As a final result my_sk_page should have following structure:
Are you going to manually create all those directories? No. We have scripts that can handle that!
Step 1: Creating the basic structure
First cd into my_sk_page:
In skeletonz_svn/scripts there is a Python script called create_site_structure.py, call it to create the basic structure:
You should now have two directories: dynamic_config_files and dynamic_dirs.
Step 2: Linking to Skeletonz libraries
You will need some directories from skeletonz_svn. On UNIX the most convinient way to accomplish this is by using symoblic links:
ln -s ~/Desktop/skeletonz_svn/site_plugins ~/Desktop/my_sk_page ln -s ~/Desktop/skeletonz_svn/templates ~/Desktop/my_sk_page ln -s ~/Desktop/skeletonz_svn/trunk/* ~/Desktop/my_sk_page
The script skeletonz_svn/scripts/create_sym_links.py will accomplish the same, you can call it this way:
python ~/Desktop/skeletonz_svn/scripts/create_sym_links.py ~/Desktop/skeletonz_svn ~/Desktop/my_sk_page
Step 3: Copy config file and start script
Simply copy them:
cp ~/Desktop/skeletonz_svn/config/general_config.py ~/Desktop/my_sk_page cp ~/Desktop/skeletonz_svn/scripts/launch_server.py ~/Desktop/my_sk_page
Your are done and ready to start!