-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Description
Installation
- You will need a web server installed on your system, for example, Nginx, Apache etc.
- Configure your spring project to your local web server directory.
- Run and browser it, like
http://localhost/spring/dev.html. dev.htmlis used to develop,index.htmlis used to runtime.
Folder Structure
spring/
├── css/
| ├── boot.less #import other less files
| ├── github.less #github highlight style
| ├── home.less #home page style
| ├── issuelist.less #issue list widget style
| ├── issues.less #issues page style
| ├── labels.less #labels page style
| ├── main.less #commo style
| ├── markdown.less #markdown format style
| ├── menu.less #menu panel style
| ├── normalize.less #normalize style
| ├── pull2refresh.less #pull2refresh widget style
| └── side.html #side panel style
├── dist/
| ├── main.min.css #css for runtime
| └── main.min.js #js for runtime
├── img/ #some icon, startup images
├── js/
| ├── lib/ #some js librarys need to use
| ├── boot.js #boot
| ├── home.js #home page
| ├── issuelist.js #issue list widget
| ├── issues.js #issues page
| ├── labels.js #labels page
| ├── menu.js #menu panel
| ├── pull2refresh.less #pull2refresh widget
| └── side.html #side panel
├── css/
| ├── boot.less #import other less files
| ├── github.less #github highlight style
| ├── home.less #home page style
| ├── issuelist.less #issue list widget style
| ├── issues.less #issues page style
| ├── labels.less #labels page style
| ├── main.less #commo style
| ├── markdown.less #markdown format style
| ├── menu.less #menu panel style
| ├── normalize.less #normalize style
| ├── pull2refresh.less #pull2refresh widget style
| └── side.html #side panel style
├── dev.html #used to develop
├── favicon.ico #website icon
├── Gruntfile.js #Grunt task config
├── index.html #used to runtime
└── package.json #nodejs install configCustomization
- Browser
http://localhost/spring/dev.html, enter the development mode. - Changes you want to modify the source code, like
css,jsetc. - Refresh
dev.htmlview change.
Building
- You will need Node.js installed on your system.
- Installation package.
$ npm install- Run grunt task.
$ grunt- Browser
http://localhost/spring/index.html, enter the runtime mode. - If there is no problem, commit and push the code.
- Don't forget to merge
masterbranch intogh-pagesbranch if you have. - And you're done! Good luck!
Reactions are currently unavailable