/!\ warning: this script should be used as root for the moment /!\
- python (v2+) && python-yaml
- apg
- zip
- git
- zip
You can install them with apt-get
- git clone https://github.com/FormaLibre/claroline_manager.git
- cp claroline.yml.dist claroline.yml
- set a value for the claro_admin_pwd and set your mysql root password in the other field
- sudo python claroline.py init //this will create the basic directory structure
- you should check the file in skel/claroline/composer.json is correct for new installations
- python claroline.py --help //this will show you the list of available tools
- sudo python claroline.py build --name=PLATFORM_NAME [--symlink=BASE_PLATFORM]
- sudo service apache2 restart //you can uncommented the line in the script if you want to but it is discouraged
- edit the platform_options.yml.dist and masters.yml.dist file and run the init command.
- cp platform.yml.dist /platforms/PLATFORM_NAME.yml
- set the required values (claroline_root, db_name, db_pwd, name - the others aren't required)
- sudo python claroline.py update --name=PLATFORM_NAME
- sudo python claroline.py backup --name=PLATFORM_NAME
- sudo python claroline.py remove --name=PLATFORM_NAME
- sudo python claroline.py restore --restore=FOLDER [--symlink=BASE_PLATFORM] [-rm]
- sudo python claroline.py migrate --restore=FOLDER [--symlink=BASE_PLATFORM]
- hooks
- autocomplete