Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-12-23 22:07:10 +0300
committerGitHub <noreply@github.com>2020-12-23 22:07:10 +0300
commit4cc85805d6379e673d7a2e51df2950df938afde0 (patch)
tree36b33d26025d9e8b6be61223ee50f5f1f1eb5137
parentb1783ada27b0c0aa377ef163865e045ead437735 (diff)
parenteaa149312347680b3679bb128c3313776ab7cd36 (diff)
Merge pull request #24830 from nextcloud/bugfix/noid/readme-mention-autoloader
Add README section for committing back-end code
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index dd7459b68a0..e4faa25e044 100644
--- a/README.md
+++ b/README.md
@@ -56,8 +56,9 @@ Several apps that are included by default in regular releases such as [First run
Otherwise, git checkouts can be handled the same as release archives, by using the `stable*` branches. Note they should never be used on production systems.
+### Working with front-end code 🏗
-### Building front-end code 🏗
+#### Building
We are moving more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
@@ -75,6 +76,8 @@ make watch-js
make build-js-production
```
+#### Commiting changes
+
**When making changes, also commit the compiled files!**
We still use Handlebars templates some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime you need to compile them separately.
@@ -102,6 +105,17 @@ MODULE=user_status make build-js-production
Please note that if you used `make build-js` or `make watch-js` before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.
+### Working with back-end code 🏗
+
+When changing back-end PHP code, in general no additional steps are needed before checking in.
+
+However, if new files were created, you will need to run the following command to update the autoloader files:
+```bash
+build/autoloaderchecker.sh
+```
+
+After that, please also include the autoloader file changes in your commits.
+
### Tools we use 🛠
- [👀 BrowserStack](https://browserstack.com) for cross-browser testing