Installing Rql Download¶
This tutorial will walk you through the process of intalling Rql Download:
- CWBrowser: a pure Python module.
- rql_download: a cube that can only be instanciated if Cubicweb is installed.
Have a look at the twisted SFTP server and fuse virtual folders configurations.
Installing CWBrowser¶
Installing rql_download¶
Installing the current version¶
Install from github¶
Clone the project
cd $CLONEDIR
git clone https://github.com/neurospin/rql_download.git
Update your CW_CUBES_PATH
export CW_CUBES_PATH=$CLONE_DIR/rql_download:$CW_CUBES_PATH
Make sure the cube is in CubicWeb’s path¶
cubicweb-ctl list
Create an instance of the cube¶
cubicweb-ctl create rql_download toy_instance
You can then run the instance in debug mode:
cubicweb-ctl start -D toy_instance
The last line of the prompt will indicate which url the instance can be reached by:
(cubicweb.twisted) INFO: instance started on http://url:port/
Change configuration¶
The configuration file is stored on your system:
...etc/cubicweb.d/toy_instance/all-in-one.conf