GithubProfileVisualizing GitHub profile
About
Inspired by tipsy. This instance was finished with React/Koa/Echarts, support server-side rendering
Live at https://gp.fedepot.com
Screenshot
Usage
Dev
Configure env
cp envrc.sample envrc
edit the envrc file
Start api server
npm run build:api
node server/index.js
Start React dev
npm run dev
Production
Configure env
cp envrc.sample envrc
edit the envrc and env.ts file
Build all resources
npm run build:all
Start Api server
npm run start:api
Start SSR server
npm run start:ssr
Configure Nginx reverse proxy
Notes: Redis server should be installed and the host,port,password information should writed to envrc file
Docker deploy
Build all resources
npm run build:all
Configure env
cp envrc.sample envrc
edit the envrc and deploy/nginx.conf
For first time:
cd deploy && docker-compose up
Next times:
cd deploy && docker-compose start
For https home address, copy nginx-ssl.conf to cover nginx.conf.
评论