GithubHelp home page GithubHelp logo

bllli / ingress-keys-management Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 4.0 207 KB

多用户Portal key管理网站

Python 33.07% HTML 0.25% JavaScript 54.17% Vue 12.51%
django vuejs2 django-rest-framework

ingress-keys-management's Introduction

ingress-keys-management

多用户Portal key管理网站

设想功能

  • Web页
    • Portal信息
    • Portal标签/分类管理
    • Portal评论
    • Keys管理
  • IITC插件
    • 用户手动上传Portal信息(只获取Po标题、图片url、位置等基本属性,如违反TOS请告知)
    • 按标签/分类查看Portal及用户Key
  • Telegram Bot
    • 别瞅了 没想好呢

For 开发者

技术选型

Django + Vue.js

开发环境部署

准备

安装好

  • Python3.6(个人推荐使用Anaconda3, 很方便)
  • npm >= 5.3.0

前端

cd frontend
npm install

# 安装并编译semantic-ui
sudo npm install gulp -g
cd semantic/
gulp build

# 切换回frontend目录
cd ..

# build 完成后注意看有没有出错 出错发issue
npm run build

后端

# 安装所需包
pip install -r requirements.txt
# 国内建议使用豆瓣源加速下载
pip install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

# 初始化数据库
python manage.py makemigrations
python manage.py migrate

# 创建超级管理员
python manage.py createsuperuser

# 运行
python manage.py runserver

# 打开 http://127.0.0.1:8000

正式部署时注意事项

  • IngressKeyManagement/setting.py 中的 CORS_ORIGIN_ALLOW_ALL 改为 False
  • 修改IITC插件中的url

ingress-keys-management's People

Contributors

bllli avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ingress-keys-management's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.