Giter Club home page Giter Club logo

employee-enrolment-app's Introduction

Welcome to the OPENLABS Employee Enrolment System wiki!

This wiki is the main source of documentation for OPENLABS Employee Enrolment System.

Quick Introduction

Employee Enrolment System is an open source project that creates and maintains all the details of its employees i.e. Personal Details, Educational Details.

Technology Stack

  • Tryton 3.4
  • Postgress 9.3.6

Prerequisites

  1. Install virtualenvwrapper pip install virtualenvwrapper
  2. Install postgress 9.3.6 sudo apt-get install postgresql postgresql-contrib

Steps Involved

  1. Install cookiecutter pip install cookiecutter .
    Cookiecutter is a template for Tryton module boilerplate.

  2. Generate a Tryton module :
    cookiecutter https://github.com/openlabs/trytond-cookiecutter.git .

    More details @ Cookiecutter

  3. Create a configuration file globally according to your requirements. More details for writing your configuration file can be viewed at this gist : Tryton 3.4 Configuration File(Sample)
    You need to update your super password in your configuration file with the help of the following command :
    $ python -c 'import getpass,crypt,random,string;<br /> print crypt.crypt(getpass.getpass(),"".join(random.sample(string.ascii_letters + string.digits, 8)))'

  4. I have created two classes 'PersonalDetails' and 'Education' in my test.py model and used Party module of trytond as the base class for PersonalDetails.

  5. Further, I created a test.xml file and designed two forms and two tree views for my classes. I have divided the views into pages and notebooks to bring out a rich user experience.

  6. You also need to update your __init__.py and tryton.cfg with suitable class names and views and register them in the Pool.

  7. After writing all the views and models the following commands are used to update both tryton client and python.
    trytond -c [path-to-your-config-file] -u module-name -d database-name
    pip install -U --no-deps .

  8. Lastly, launch the server and tryton client with the following commands :
    trytond -c [path-to-your-config-file] tryton -dv

employee-enrolment-app's People

Watchers

 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.