From Fedora Project Wiki
(→‎Scope: adding python-frappe dependencies)
 
(4 intermediate revisions by 2 users not shown)
Line 34: Line 34:
|python-semantic-version
|python-semantic-version
|Create  
|Create  
|{{result|inprogress|williamjmorenor}} [https://bugzilla.redhat.com/show_bug.cgi?id=1228941 1228941]
|{{result|pass|}} [https://bugzilla.redhat.com/1207280 1207280]
|-
|-
|python-frappe
|python-frappe
|Create  
|Create  
|{{result|inprogress|williamjmorenor}} [https://bugzilla.redhat.com/show_bug.cgi?id=1228942 1228942]
|{{result|pass|williamjmorenor}} [https://bugzilla.redhat.com/show_bug.cgi?id=1228942 1228942]
|-
|-
|python-frappe-bench
|python-frappe-bench
|Create
|Create
|{{result|inprogress|williamjmorenor}} [https://bugzilla.redhat.com/show_bug.cgi?id=1228943 1228943]
|{{result|pass|williamjmorenor}} [https://bugzilla.redhat.com/show_bug.cgi?id=1228943 1228943]
|-
|-
|python-chardet
|python-chardet
Line 66: Line 66:
|nodejs-flot
|nodejs-flot
|Create
|Create
|{{result|inprogress|mayorga}} [https://bugzilla.redhat.com/show_bug.cgi?id=1229552 1229552]
|{{result|pass|mayorga}} [https://bugzilla.redhat.com/show_bug.cgi?id=1229552 1229552]
|-
|-
|python-js-beautify
|python-js-beautify
|Create
|Create
|{{result|inprogress|mayorga}} [https://bugzilla.redhat.com/show_bug.cgi?id=1229552 1229552]
|{{result|pass|mayorga}} [https://bugzilla.redhat.com/show_bug.cgi?id=1229552 1229552]
|}
|}
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
Line 94: Line 94:


== How To Test ==
== How To Test ==
<!-- This does not need to be a full-fledged document. Describe the dimensions of tests that this change implementation is expected to pass when it is done.  If it needs to be tested with different hardware or software configurations, indicate them.  The more specific you can be, the better the community testing can be.
In f23 and rawhide python-frappe is missing nodejs-prismjs you will need to install by hand with:


Remember that you are writing this how to for interested testers to use to check out your change implementation - documenting what you do for testing is OK, but it's much better to document what *I* can do to test your change.
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


A good "how to test" should answer these four questions:
You can track the review request of the missing dependency in https://bugzilla.redhat.com/show_bug.cgi?id=1246720


0. What special hardware / data / etc. is needed (if any)?
'''Test 0 - Install the Frappe Framework and Import it in Python'''
1. How do I prepare my system to test this change? What packages
need to be installed, config files edited, etc.?
2. What specific actions do I perform to check that the change is
working like it's supposed to?
3. What are the expected results of those actions?
-->


<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
Install the framework with
N/A (not a System Wide Change)
 
    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


Instructions will be packaged in a README-Fedora, we also plan to write a wiki and post to Planet
    bench new-site fedora-test


== User Experience ==
== User Experience ==

Latest revision as of 23:11, 7 August 2015

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