Commit Graph

8 Commits (9f7433d4f35013492bb5066800092b73faccb44e)

Author SHA1 Message Date
Michael Li 4d83fd4238
Use go-bindata to embed `public` and `templates` files into binary (#5920)
* fixed private repositories are hidden in the organization's view

* use go-bindata integrate public and templates files to gogs binary

* optimize Dockerfile don't COPY public and templates files

* use kevinburke's go-bindata to generate assets code

* reset develepment as default run mode in configure file

* optimize generated assets code relayout and help function

* fixed code format

* Update conf/app.ini

* assets: add LICENSE headers

* Some housekeeping

* assets/public: simplify code logic

* assets/templates: simplify code logic

* cmd/web: more concise variable names

* Minor changes

* Add custom public and templates support back

Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
2020-02-17 22:48:24 +08:00
Unknwon f148b7bfc0
conf: update instructions for installing go-bindata 2020-01-29 16:42:06 +08:00
Unknwon 38e8ccac92
conf: add go-bindata install command in README
[ci skip]
2018-11-20 02:37:16 -05:00
Unknwon 58f0c68151 Some minor changes 2016-03-06 16:40:04 -05:00
Unknwon 46bee50e45 complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Unknown ab13a29cb5 Fix #209 2014-05-28 01:53:06 -04:00
Unknown ff690fd976 Fix #200, add VERSION to template files 2014-05-28 00:06:31 -04:00