GithubHelp home page GithubHelp logo

tuition's Introduction

Tuition

A WIP tuition tool for online learning.

App Structure

The application is created in a folder called tuition and has the following structure:

        .
        ├── MANIFEST.in
        ├── README.md
        ├── tuition
        │   ├── __init__.py
        │   ├── config
        │   │   ├── __init__.py
        │   │   └── desktop.py
        │   ├── hooks.py
        │   ├── tuition
        │   │   └── __init__.py
        │   ├── modules.txt
        │   ├── patches.txt
        │   └── templates
        │       ├── __init__.py
        │       ├── generators
        │       │   └── __init__.py
        │       ├── pages
        │       │   └── __init__.py
        │       └── statics
        ├── license.txt
        ├── requirements.txt
        └── setup.py

config folder contains application configuration info.

desktop.py is where desktop icons can be added to the Desk.

hooks.py is where integrations with the environment and other applications is mentioned.

tuition (inner) is a module that is bootstrapped. In Frappe, a module is where model and controller files reside.

modules.txt contains list of modules in the app. When you create a new module, it is required that you update it in this file.

patches.txt is where migration patches are written. They are python module references using the dot notation.

templates is the folder where web view templates are maintained. Templates for Login and other standard pages are bootstrapped in frappe.

generators are where templates for models are maintained, where each model instance has a separate web route, for example a Blog Post where each post has its unique web URL. In Frappe, the templating engine used is Jinja2.

pages is where single route templates are maintained. For example for a "/blog" type of page.

Install & Uninstall

A. Installing App from GitHub To install app from your GitHub link for example on a new ERPNext instances:

cd /home/bench/frappe/apps bench get-app https://github.com/AlvaroMolano/tuition.git bench --site erpnext.domain.com install-app tuition bench --site erpnext.domain.com migrate

B. Uninstalling/Removing App You can remove the app by

bench --site erpnext.domain.com uninstall-app tuition bench remove-app tuition

TODO

  • Build questions & answers data structure and api.
  • Build the create question-forms desk-tool.
  • Build the questions-presenter view web page.

License

MIT

tuition's People

Contributors

alvaromolano 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.