![]() Then add the compiled files for committing. build/compile-handlebars-templates.shīefore checking in JS changes, make sure to also build for production: make build-js-production Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a. If you don’t have Handlebars installed yet, you can do it with this terminal command: sudo npm install -g handlebars We will replace these step-by-step with Vue.js, but in the meantime, you need to compile them separately. We still use Handlebars templates in some places in Files and Settings. When making changes, also commit the compiled files! For building the code on changes, use these terminal commands in the root folder: # install dependencies We are moving more and more toward using Vue.js in the front-end, starting with Settings. Note they should never be used on production systems. Otherwise, git checkouts can be handled the same as release archives, by using the stable* branches. Several apps that are included by default in regular releases such as First run wizard or Activity are missing in master and have to be installed manually by cloning them into the apps subfolder. So aside from the regular git checkout invoking git submodule update -init or a similar command is needed, for details see Git documentation. Third-party components are handled as git submodules which have to be initialized first.
0 Comments
Leave a Reply. |