Skip to content

koles/gd-turbocl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Getting Started:

  1. Make sure you can run shell scripts and have the GoodData CL tool installed. The gdi.sh script must be on your system PATH

  2. Checkout the "turbocl" directory: git clone https://github.com/koles/gooddata-turbocl.git Rename it and call it your project directory. Create empty model/, data/ and tmp/ folders. Change the git origin so you can push your work into your Git repository

  3. Make sure you have gdi.properties file in your home directory or in the project directory.

  4. Copy our CSV files to the data/ folder. The files must be ready for upload into GoodData using the CL tool without any transformation.

  5. Run bin/guess_all.sh

  6. Edit generated XML datast descriptors in the model/ folder

  7. Edit bin/datasets.txt. The list of data sets should match the CSV files in the data/ folder without the .csv suffix. Edit the list of the date dimensions.

  8. Create the GoodData project by running bin/create_project.sh "projectname" The generated project will include all date dimensions from the bin/datasets.txt file. It's project ID will be stored in tmp/pid

  9. Run bin/generate_maql_all.sh to generate MAQL scripts into tmp/ folder

  10. Run bin/execute_maql_all.sh to execute the MAQL scripts in the tmp/ folder

  11. Run bin/transfer_data_all.sh to upload data from the data/ folder into the GoodData project

  12. To change the data model for a data set, edit the corresponding XML file in the model/ folder and then run bin/generate_maql.sh dataset `cat tmp/pid` 1

Notes:

  • data are transfered using the full mode by default. Edit bin/transfer_data.sh to use the incremental mode instead

  • these scripts do not replace the CL tool but they can help you to use it more effectively

  • sorry for possibly not user friendly error messages produced by the current version

About

Shell wrappers on the top of (now obsolete) GoodData CL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages