This guide is the minimum you need to do to get your Phoenix Custom App published. You may find this useful as a "cheat sheet", after completing and understanding the concepts taught in the README guide.
Clone and install the with-data branch of the StarterKit
git clone https://github.com/DomoApps/StarterKit.git
cd StarterKit
git checkout with-data
npm installChoose manifest only when running the domo init command:
domo initRefer to the Dev Studio Manifest page if needed.
- Open
manifest.json - Change the
heightandwidth - Add a column
aliasfor columns you plan to query that have spaces or long names - Save the file
Login to the correct Domo instance and publish your App. This will allow you to connect to your dataset locally when running npm start.
domo login
npm run deployStartup the webpack server
npm startOpen src/index.js and change the lines indicated with Step # to use your dataset
- Set datasetAlias to use the same name in your manifest
- Set the column "name" and "type" to columns in your dataset
- Set a chart type using the correct enum
- Set your Chart Options
Once you have your App looking the way you want it locally you will need to publish your current version to your instance.
npm run deploy