Skip to content

drivendataorg/kaiip-discourse-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom theme for Discourse

Setup

  1. You'll need Docker installed.

  2. Run make serve

  3. You'll be prompted for a Discourse API key on the first run. To get a new API key:

  4. Agree to Would you like this API key stored in /root/.discourse_theme? to not be asked again, but don't commit this file.

  5. Select the default option Sync with existing theme: 'KAIIP Theme' (id:5).

    • AVOID the "Select a different theme" option so you don't overwrite the production theme.

    • You can confirm the ID of the production theme by visiting https://k12-ai-infrastructure.discourse.group/admin/config/customize/themes, clicking "Edit" for the theme with the "Default theme" badge, then reading the theme ID number from the URL e.g. /admin/customize/themes/4

  6. A "Preview URL" should now be printed which you can open in a browser to preview the theme in use.

    • If you make any changes to the local theme files, the CLI should tell you they've been automatically uploaded to the Discourse server.

    • Refresh the Preview URL to see the changes.

    • Notice it's not previewing via a local server but via the Discourse server online.

Theming tips

About

A fork of the "graceful" discourse theme for KAIIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • SCSS 90.2%
  • JavaScript 5.8%
  • Makefile 2.3%
  • Ruby 1.1%
  • Other 0.6%