I’m new here but I’d like to give Discourse a try before deciding what platform to build my community on, since I consider this the most exciting prospect out there.
Currently I’m having trouble setting up a consistent workflow.
Preferably I’d like to either:
a) code in the cloud using an IDE like Cloud9 (https://c9.io)
or
b) code locally using something like Atom
…and then preview the changes using live refresh for HTML/CSS/JS.
Whenever I’m satisfied I just push a new commit to Github. Then I import the theme remotely to my hosted Discourse install (I’ve chosen Nodechef https://nodechef.com/discourse-hosting for now).
The theme cli is the way to go. You just need somewhere that you can run it. It doesn’t matter where you’re hosted. You just need to resolve your API key problem.
Using the built-in editor in Admin > Customize > Themes might be the best way if you can’t get the CLI to work. The CLI was built because there really wasn’t an ideal way to develop themes for Discourse previously, so I’d like to help you get that worked out if possible.
Are you able to install Discourse locally using any of the methods here: Topics tagged dev-install? You can point the Theme CLI at localhost, which might help avoid any of the network issues you were running into.
Have you tried using a Discourse instance that’s not hosted by nodechef? I wonder if there’s a peculiarity with them specifically (I’m going to try an install there and see if I run into any issues).
Update: Just tried using nodechef and didn’t have any issues with getting the CLI up and running.
I’d rather not use the theme editor, it’s too basic and I also need to change the markup (add/remove functionality) which is impossible via the editor. I agree that the CLI is the way to go, that’s why I’m still trying to make it work.
No, I have not tried other hosts. Looking into options currently.
Let me know if you find out anything, I’d appreciate it!
Status update (for anyone interested/similar situation):
With @awesomerobot’s assistance we’ve debugged the issue and it seems that Nodechef randomly installed an older version Discourse 2.0.0.beta3 on my account instead of Discourse 2.0.0.beta 4 which is required for the CLI.
Also important to note is that if you delete your instance and try to do a fresh install, Nodechef WILL INSTANTLY CHARGE YOUR CARD AGAIN, even if you’ve paid a minute ago for the last forum instance.