You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -114,10 +114,10 @@ included in the next released version.
114
114
## Building Gitea
115
115
116
116
Generally, the go build tools are installed as-needed in the `Makefile`.
117
-
An exception are the tools to build the CSS and images.
117
+
An exception are the tools to build the CSS, JS and images.
118
118
119
-
- To build CSS: Install [Node.js](https://nodejs.org/en/download/package-manager) at version 8.0 or above
120
-
with `npm` and then run `npm install`and `make css`.
119
+
- To build CSS and JS: Install [Node.js](https://nodejs.org/en/download/package-manager) at version 10.0 or above
120
+
with `npm` and then run `npm install`, `make css`and `make js`.
121
121
- To build Images: ImageMagick, inkscape and zopflipng binaries must be
122
122
available in your `PATH` to run `make generate-images`.
123
123
@@ -166,7 +166,7 @@ import (
166
166
167
167
To maintain understandable code and avoid circular dependencies it is important to have a good structure of the code. The gitea code is divided into the following parts:
168
168
169
-
-**integration:** Integrations tests
169
+
-**integration:** Integrations tests
170
170
-**models:** Contains the data structures used by xorm to construct database tables. It also contains supporting functions to query and update the database. Dependecies to other code in Gitea should be avoided although some modules might be needed (for example for logging).
171
171
-**models/fixtures:** Sample model data used in integration tests.
172
172
-**models/migrations:** Handling of database migrations between versions. PRs that changes a database structure shall also have a migration step.
0 commit comments