- Create a bookmark (right-click "add bookmark") and paste the code from here
- Go to the course homepage in studio (ex : https://studio.fun-mooc.fr/course/course-v1:xxxxxxxxxx)
- Run the bookmarklet by clicking it
- Click the button to copy and go to the app
- Paste the data inside the "Raw data" field
- Go to the Table of contents tab
- Select options (base url, depth, template, etc)
- Check the preview
- Copy code from the left panel
- Go to the Discourse tab
- Put Discourse options (API key are generated from Discourse Admin panel > API)
- Check existing categories by clicking "Fetch existing categories"
- Update or delete existing categories
- Generate all categories and subcategories using "Create X categories and X subcategories"
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint