Code Monkey home page Code Monkey logo

index-of-mirrors's Introduction

Index of Mirror Site

A new back-end and new web pages of CQU Mirror Site.

##Features ###Web Pages

  • A list of entrances of all the mirrors.
  • Give a glance at sync-states of all the mirrors.
  • An entrance to quickly download some system isos or softwares.
  • A list of some flows of server, like network-io...
  • Have better compatibility. Mobile support.

###Back End

  • Provide RESTful API for front-end to operate resources.
  • Publish notices or news via github issue.
  • Update mirrors, resources list via github issue.
  • Auto backup database: dump database into json files and push to github with some rules, such as backup after each successful issue submit.

##Organization

  • actor/: Flask APP sits here. Actor is the APP's name.
  • domains.py: Some data objects.
  • views.py: Routers and its implementation.
  • static/: Web pages are here!
  • run_actor.py: For debugging. Just ./run_actor.py in the CLI.

##Quick Start for Dev. It's free to try your ideas.

  • Change into the project directory. Everything happens in it.
  • Initialize a virtualenv with the command virtualenv .pyenv && .pyenv/bin/pip install --upgrade -r requirements.txt --allow-external mysql-connector-python.
  • Create a database and restore it with schema.sql. We use MariaDB in production.
  • Custom a settings.cfg with a copy of example_settings.cfg.
  • Run the APP with the command ./run_actor.py or .pyenv/bin/python run_actor.py.
  • To know details of API, see here.
  • To know details of web pages' description, see
  • index

##How to Deploy fab -u user -H host --port=port <pull|deploy|start>

##License MIT, see LICENSE for details.

index-of-mirrors's People

Contributors

shibaozhang95 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.