Skip to content

ForkRepo/GithubProfile

 
 

Repository files navigation

GithubProfile

Visualizing GitHub profile .

GitHub issues GitHub forks GitHub stars dependency status 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

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.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.6%
  • JavaScript 18.5%
  • CSS 8.0%
  • Other 1.9%