当前位置: 首页 > 软件库 > Web应用开发 > Web框架 >

GithubProfile

Visualizing GitHub profile
授权协议 MIT License
开发语言 JavaScript
所属分类 Web应用开发、 Web框架
软件类型 开源软件
地区 不详
投 递 者 傅正阳
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

GithubProfile

Visualizing 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

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.