Leon-z / fresh

上海科技大学新生生存手册

Home Page:https://zone.geekpie.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fresh

上海科技大学新生生存手册

Deploy

this project is using docker.

please read Dockerfile before you try to deploy it.

the most important script is

cd fresh 
	&& npm install
	&& npm run build 
	&& mv dist/assets/index.html dist/ 
	&& rm -rf node_modules

Node

Environment

node >= 4

is needed and we suggest

node >= 6

Code Style

https://github.com/airbnb/javascript

Develop

make sure you have run npm install before developing.

npm start

访问 http://127.0.0.1:8989

please remove line 52 ~ 57 in webpack.config.js and change path to relative path in src/entries/index.html before you start server.

Build

npm run build

Markdown

using markdown-it and parseMd

file is located at src/markdown

About

上海科技大学新生生存手册

https://zone.geekpie.org/

License:MIT License


Languages

Language:JavaScript 50.3%Language:CSS 37.0%Language:Nginx 10.4%Language:HTML 2.4%