From Fedora Project Wiki

< Changes

Revision as of 23:11, 7 August 2015 by Williamjmorenor (talk | contribs) (→‎How To Test)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Frappe Framework

Summary

A full-stack web framework based on Python and Javascript to help you build powerful business apps and nifty extensions.

Owner

Current status

Detailed Description

  • Frappe is a Python and JavaScript framework.
  • Frappe is the Framework on top ERPNext it is builded.
  • Frappe has libraries and API for everything from authentication to reports.
  • Frappe is built with the philosophy make it a "battries included" framework

Benefit to Fedora

Bring to Fedora a Python Framework with active upstream community and a growing user community. Please note that Fedora will become the first Linux distribution to ship the Frappe Framework.

Scope

  • Proposal owners: Initial work has been done for ERPNext (an accounting system built on the top of Frappe) on F22 in a Copr repository. Patches and quick fixes should be cleaned up or revisited.
Package name Task Status
python-semantic-version Create
Pass pass
1207280
python-frappe Create 1228942
python-frappe-bench Create 1228943
python-chardet Update to 2.3.0
Inprogress inprogress mayorga
1150536
pytz Update to 2015.4
Inprogress inprogress mayorga
1161236
python-werkzeug Update to 0.10.4
Inprogress inprogress mayorga
1206178
python-html2text Update to 2015.6.6
Pass pass mayorga
1229552
nodejs-prismjs Create
Inprogress inprogress mayorga
1229552
nodejs-flot Create
Pass pass mayorga
1229552
python-js-beautify Create
Pass pass mayorga
1229552
  • Other developers: not a System Wide Change
  • Release engineering: not a System Wide Change
  • Policies and guidelines: not a System Wide Change
  • Trademark approval: not needed for this Change

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

In f23 and rawhide python-frappe is missing nodejs-prismjs you will need to install by hand with:

dnf install -y https://copr-be.cloud.fedoraproject.org/results/williamjmorenor/python-frappe-f22/fedora-22-x86_64/nodejs-flot-0.8.3-2.fc24/nodejs-flot-0.8.3-2.fc22.noarch.rpm

You can track the review request of the missing dependency in https://bugzilla.redhat.com/show_bug.cgi?id=1246720

Test 0 - Install the Frappe Framework and Import it in Python

Install the framework with

   dnf install python-frappe

Open a interactive sesion in Python2 and import frappe

   >>> import frappe

Test 1 - Create your first Frappe Based Website

1- Start the mariadb servide with

   su -c "systemctl start mariadb"

2- Set a mariadb root passworod

   su -c "/usr/bin/mysql_secure_installation"

3- Add your user to the frappe group

   su -c "usermod -a -G frappe $USER"

4- Create your firts Frappe website

   bench new-site fedora-test

User Experience

N/A (not a System Wide Change)

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: not a System Wide Change, is the Frappe Framework is not ready for user we will point to the f24 release, unstable packages can be found here
  • Contingency deadline: not a System Wide Change
  • Blocks release? not a System Wide Change, No
  • Blocks product? not a System Wide Change, No

Documentation

N/A (not a System Wide Change)

Release Notes