|
|
|
@ -43,6 +43,12 @@ sed -i 's|^AVATAR_UPLOAD_PATH = data/avatars$|AVATAR_UPLOAD_PATH = /var/lib/gite
@@ -43,6 +43,12 @@ sed -i 's|^AVATAR_UPLOAD_PATH = data/avatars$|AVATAR_UPLOAD_PATH = /var/lib/gite
|
|
|
|
|
sed -i 's|^PATH = data/attachments$|PATH = /var/lib/gitea/data/attachments|g' custom/conf/app.ini.sample |
|
|
|
|
sed -i 's|^ROOT_PATH =$|ROOT_PATH = /var/log/gitea|g' custom/conf/app.ini.sample |
|
|
|
|
sed -i 's|^TEMP_PATH = data/tmp/uploads$|TEMP_PATH = /var/lib/gitea/data/tmp/uploads|g' custom/conf/app.ini.sample |
|
|
|
|
npm install |
|
|
|
|
npx eslint web_src/js webpack.config.js |
|
|
|
|
npx webpack |
|
|
|
|
npx lessc web_src/less/index.less public/css/index.css |
|
|
|
|
npx lessc web_src/less/themes/arc-green.less o> public/css/theme-arc-green.css |
|
|
|
|
npx postcss --use autoprefixer --use cssnano --no-map --replace public/css/* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|