![]() They are planning to work on a web interface, but I could find no further results. Was recommended to to use SSH+X-Forwarding to access his GnuCash database The GnuCash mailing list(s) has a few results.There seem to be few other projects in the same direction: However, if anyone is willing to help taking this into a moreįeature-rich direction, I am motivated to work on that. Since GnuCash Web fulfills my primary use case for it, I don't expect much development This is (currently) a personal project to play around with and satisfy my own everyday ![]() ![]() Initialise submodules and install dependencies: git submodule initīuild and upload package: python -m buildĭevelopment is at an early stage, but contributions are welcome. They are also stored in anĮncrypted session cookie in the users browser. Which are provided as credentials for the database hosts. When using pass-through authentication, GnuCash Web asks for username and password upon login, This is generally only useful when using the sqliteīack end (which does not accept credentials). When using no authentication, anyone can access the web interface and no credentials are More detailsĪnd database considerations can be found in the official GnuCashĪlternatively, you can also use piecash to create a new book, as is described inĬurrently, there are only two authentication mechanisms supported, None and 'passthrough'. You canĪlso migrate an existing GnuCash XML file to a database using Save as. Simply select the appropriate database back end in the Open-dialog. Preferably, you will use the official GnuCash desktop app to create a newīook. Therefore, you have to create a database and populate it with anĪccount hierarchy before you can use GnuCash Web. GnuCash Web only works on a preexisting database. UWSGI: module = gnucash_web.wsgi:app pidfile = gnucash_web.pid master = true processes = 1 http-socket = :8080 chmod-socket = 660 vacuum = true Initialising database For GnuCash Web, this is gnucash_web.wsgi:app.įor example, the following. Most WSGI web server require setting a "module", which is the WSGI object that runs theĪpp. GnuCash WebĬomes as a WSGI application, so there are many It is not recommended to use the builtin Flask web server in production. AUTH_MECHANISM = None # The maximum number of transactions per page in the ledger TRANSACTION_PAGE_LENGTH = 25 Running WARN # Supported values: 'sqlite', 'mysql' or 'postgres' DB_DRIVER = 'mysql' # Host name of the database (ignored for DB_DRIVER = 'sqlite') DB_HOST = '' # Name of the Database on the host (for DB_DRIVER = 'sqlite', this is the 'path/to/db.sqlite') DB_NAME = 'gnucash_data' # Supported values: None, 'passthrough'. to encrypt the session cookie or for other cryptographic operations SECRET_KEY = 'devel' # Python standard library log level LOG_LEVEL = logging. This is the normal Flask configuration file, so all standardĬan also be set. The following example illustrates possible values forĪll available options. Set the environment variable GNUCASH_WEB_CONFIG to loadĪ different config file. If both files are present, values from the latter ConfigurationĬreate a config file in /etc/gnucash_web/config.py or in GnuCash Web is aimed at system administrators, but is otherwise easy to set up. If your database is not publicly accessible, using an Official GnuCash desktop app, since GnuCash Web is only a companion and not To be able to access the database directly from your desktop/notebook with the (#Initialising Database) for more information. ![]() You also need to setup a database that stores the GnuCash data, see Note that at least Python 3.8 is required. Included in the python standard library). Mysql or psycopg2, depending on which back end you want to use (sqlite back end is Simply install it via pip install GnuCash-Web. GnuCash Web is available on PyPI, so you can
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |