GithubProfileVisualizing GitHub profile

联合创作 · 2023-09-21 14:28


GithubProfile


Visualizing GitHub profile .


GitHub issues GitHub forks GitHub stars Build Status GitHub license code style: prettier





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


Sample file


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.

浏览 11
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报