This is an old revision of the document!
Manage the script directory
We keep the latest version on our blocks-script repo on github.
Before doing anything with an existing script directory in a working system, it is always recommended to:
- Stop the server
- Make a security copy of the /PIXILAB-Blocks-root/script/ directory in case something goes wrong.
There are a few different methods to obtain the files, but in general for any desktop environments one can download a zip of the repo by clicking the green <CODE> dropdown and select the option to Download ZIP. This zip will contain all the files. When this file is decompressed it will result in a new directory, blocks-script-master. Navigate inside this directory and select all files and directories. Now one can drag/copy all the files into the /PIXILAB-Blocks-root/script/ directory. This will merge any new files and overwrite any older existing files, wish is typically what you want.
First time installation
From a freshly installed Blocks, one should also install an up-to-date version of the files describing the Blocks scripting environment and dependencies.