Is there a way to get the theme files running on git?
-
Hi, so my problem is that ghost is a very vscode friendly tool. I would like to get ghost running on my local host, with a sample database so I can develop the theme. But then the challenge is quickly uploading the theme to production on cloudron.
Is there an easy way to connect the ghost theme to a git repo.
Or connect app/data to a get repo
Or have a deploy process which updates app/data with updated theme files that i edited on my local computer? -
@roofboard are ghost themes simply uploaded to a directory inside /app/data ?
Some ideas:
- are you not able to clone the theme in /app/data ? you can then git pull using web terminal?
- some tooling around
cloudron push
(the cli tool) ? This can push an entire local directory into /app/data - you can of course just scp straight into /home/yellowtent/appsdata/<ghost-app-id>/data/... Then restart the app or something
-
@roofboard are ghost themes simply uploaded to a directory inside /app/data ?
Some ideas:
- are you not able to clone the theme in /app/data ? you can then git pull using web terminal?
- some tooling around
cloudron push
(the cli tool) ? This can push an entire local directory into /app/data - you can of course just scp straight into /home/yellowtent/appsdata/<ghost-app-id>/data/... Then restart the app or something
@joseph said in Is there a way to get the theme files running on git?:
@roofboard are ghost themes simply uploaded to a directory inside /app/data ?
Yes, simple uploading works
/app/data/content/themes
I haven't tried it, but wouldn't SFTP uploads work fast enough here?Just noticed your last bulletpoint