Git Product home page Git Product logo

everyclass-server's Introduction

EveryClass-server

status python version license Build Status works-on code-coverage

This is the web server part of EveryClass project.

Communication

If you found any problem of the code, please open an issue here and make sure you provided much information.

To discuss questions regarding the project, I suggest you join our forum (Chinese).

Technology stack

  • uWSGI: the gateway between programme itself and Nginx reverse proxy
  • Flask: the micro Python web framework
  • MySQL: database

Using the source

  1. Set a Python 3.6.0 virtualenv, and install required packages in requirements.txt
  2. Copy everyclass/config/default.py. Rename it development.py and change some settings for local development
  3. Import database. Structure can be found here, but you need to dummy some content yourself.
  4. set the environment variable MODE to DEVELOPMENT, then run ec_server.py

Contributions, Bug Reports, Feature Requests

This is an open source project and we would be happy to see contributors who report bugs and file feature requests submitting pull requests as well. Please report issues here https://github.com/fr0der1c/EveryClass-server/issues

Branch Policy

Please get familiar with git-flow before you start contributing. It's a work flow to make source code better to manage.

We have the following branches :

  • development: All development goes on in this branch. If you're making a contribution, please make a pull request to development. PRs to must pass a build check and a unit-test check on Travis.
  • master: This is the actual code running on the server. After significant features/bug-fixes are accumulated on development, we make a version update, and make a release.

Contributions Best Practices

Commits

  • Write clear meaningful git commit messages
  • Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (More info at https://github.com/blog/1506-closing-issues-via-pull-requests)
  • When you make very very minor changes to a PR of yours (like for example fixing a failing travis build or some small style corrections or minor changes requested by reviewers) make sure you squash your commits afterwards so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at https://davidwalsh.name/squash-commits-git )

Feature Requests and Bug Reports

When you file a feature request or when you are submitting a bug report to the issue tracker, make sure you add steps to reproduce it. Especially if that bug is some weird/rare one.

Join the development

Feel free to join the development and happy coding. Again, please get familiar with git-flow before you start contributing.

everyclass-server's People

Contributors

fr0der1c avatar

Watchers

James Cloos 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.