Giter Site home page Giter Site logo

douskaki / business-glossary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from business-glossary/business-glossary

0.0 0.0 0.0 2.69 MB

A Business Glossary application to help organisations with vocabulary.

License: Apache License 2.0

Python 53.75% CSS 4.47% HTML 41.64% Mako 0.14%

business-glossary's Introduction

Build Status Coverage Status

Business Glossary

A simple business glossary to store and disseminate business taxonomy and vocabulary.

Running the Application

git clone https://github.com/atindale/business-glossary.git
cd business-glossary
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
python create_db.py
flask run

Setup

Running the above commands will create an application using the development configuration by default. This uses an SQLite database named glossary_dev.db.

You can also define two environment variables to control the configuration and database it should use.

export BG_DATABASE_URL=mysql://username:password@localhost/db_name
export BG_CONFIG=test
flask run

Managing Users

To add a user to the glossary, us the following command. You will be prompted for a password.

flask users create --active [email protected]

A user can be assigned a role can be created like so:

flask roles add [email protected] admin

You can remove a role from a user with:

flask roles remove [email protected] admin

You can deactivate a user like this:

flask users deactivate [email protected]

The user can be activated again with this command:

flask users activate [email protected]

Printing to PDF

To print glossary information to PDF wkhtmltopdf should be installed and available in your PATH. If it is not in the path it will be searched for at C:\Program Files\wkhtmltopdf\bin.

The generated PDF documents are placed in a directory named bg_interface that is created alongside the application directory. So if the Business Glossary is installed under /srv/business-glossary the generated PDFs will be created at /src/bg_interface.

Copyright 2016-2018 Alan Tindale

business-glossary's People

Contributors

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