3 Star 0 Fork 0

Gitee 极速下载 / git-trophy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/bcongdon/git-trophy
克隆/下载
README.md 2.25 KB
一键复制 编辑 原始数据 按行查看 历史
Neil Pathare 提交于 2019-01-03 21:40 . Minor Typo Fix

git-trophy

🏆 Create a 3D Printed Model of Your Github Contributions

Demo:

demo

Architecture / Design

GitTrophy uses React, Redux, react-three-renderer, and react-semantic-ui on the frontend.

On the backend, GitTrophy has a Zappa-powered AWS Lambda API to scrape Github contribution data.

Most information is available on my blog post about this project.

Run it yourself

git clone https://github.com/bcongdon/git-trophy
cd git-trophy

# Start the site
npm i
npm start

# Deploy the lambdas
cd git_trophy_lambda
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
zappa deploy

# Publish the site
cd ..
npm run deploy

This repo isn't necessarily meant to be used to create an independent deployment of git-trophy, but there's nothing stopping you if you want to!

Note: To deploy the backend/frontend you'll have to setup your AWS credentials

  • Alternatively, you can run the backend locally with python git_trophy_lambda/app.py
  • You'll also need to...
    • edit the lambda URL in src/actions.js (Set BASE_URL to the lambda URL)
    • change the S3 deployment bucket in package.json
    • change the S3 cache bucket in git_trophy_lambda/zappa_settings.json
    • change the Shapeways OAuth clientId in src/oauth.js

Related Projects

Attribution

JavaScript
1
https://gitee.com/mirrors/git-trophy.git
git@gitee.com:mirrors/git-trophy.git
mirrors
git-trophy
git-trophy
master

搜索帮助