forked from Khatavahi-BI-Solutions/bookingapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 900d115
Showing
16 changed files
with
211 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.DS_Store | ||
*.pyc | ||
*.egg-info | ||
*.swp | ||
tags | ||
bookingapp/docs/current |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
include MANIFEST.in | ||
include requirements.txt | ||
include *.json | ||
include *.md | ||
include *.py | ||
include *.txt | ||
recursive-include bookingapp *.css | ||
recursive-include bookingapp *.csv | ||
recursive-include bookingapp *.html | ||
recursive-include bookingapp *.ico | ||
recursive-include bookingapp *.js | ||
recursive-include bookingapp *.json | ||
recursive-include bookingapp *.md | ||
recursive-include bookingapp *.png | ||
recursive-include bookingapp *.py | ||
recursive-include bookingapp *.svg | ||
recursive-include bookingapp *.txt | ||
recursive-exclude bookingapp *.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Booking Service App | ||
|
||
Booking Any type of Service | ||
|
||
#### License | ||
|
||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
__version__ = '0.0.1' | ||
|
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
from frappe import _ | ||
|
||
def get_data(): | ||
return [ | ||
{ | ||
"module_name": "Booking Service App", | ||
"color": "grey", | ||
"icon": "octicon octicon-file-directory", | ||
"type": "module", | ||
"label": _("Booking Service App") | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
""" | ||
Configuration for docs | ||
""" | ||
|
||
# source_link = "https://github.com/[org_name]/bookingapp" | ||
# docs_base_url = "https://[org_name].github.io/bookingapp" | ||
# headline = "App that does everything" | ||
# sub_heading = "Yes, you got that right the first time, everything" | ||
|
||
def get_context(context): | ||
context.brand_html = "Booking Service App" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
from . import __version__ as app_version | ||
|
||
app_name = "bookingapp" | ||
app_title = "Booking Service App" | ||
app_publisher = "Jigar Tarpara" | ||
app_description = "Booking Any type of Service" | ||
app_icon = "octicon octicon-file-directory" | ||
app_color = "grey" | ||
app_email = "[email protected]" | ||
app_license = "MIT" | ||
|
||
# Includes in <head> | ||
# ------------------ | ||
|
||
# include js, css files in header of desk.html | ||
# app_include_css = "/assets/bookingapp/css/bookingapp.css" | ||
# app_include_js = "/assets/bookingapp/js/bookingapp.js" | ||
|
||
# include js, css files in header of web template | ||
# web_include_css = "/assets/bookingapp/css/bookingapp.css" | ||
# web_include_js = "/assets/bookingapp/js/bookingapp.js" | ||
|
||
# include js in page | ||
# page_js = {"page" : "public/js/file.js"} | ||
|
||
# include js in doctype views | ||
# doctype_js = {"doctype" : "public/js/doctype.js"} | ||
# doctype_list_js = {"doctype" : "public/js/doctype_list.js"} | ||
# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} | ||
# doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"} | ||
|
||
# Home Pages | ||
# ---------- | ||
|
||
# application home page (will override Website Settings) | ||
# home_page = "login" | ||
|
||
# website user home page (by Role) | ||
# role_home_page = { | ||
# "Role": "home_page" | ||
# } | ||
|
||
# Website user home page (by function) | ||
# get_website_user_home_page = "bookingapp.utils.get_home_page" | ||
|
||
# Generators | ||
# ---------- | ||
|
||
# automatically create page for each record of this doctype | ||
# website_generators = ["Web Page"] | ||
|
||
# Installation | ||
# ------------ | ||
|
||
# before_install = "bookingapp.install.before_install" | ||
# after_install = "bookingapp.install.after_install" | ||
|
||
# Desk Notifications | ||
# ------------------ | ||
# See frappe.core.notifications.get_notification_config | ||
|
||
# notification_config = "bookingapp.notifications.get_notification_config" | ||
|
||
# Permissions | ||
# ----------- | ||
# Permissions evaluated in scripted ways | ||
|
||
# permission_query_conditions = { | ||
# "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions", | ||
# } | ||
# | ||
# has_permission = { | ||
# "Event": "frappe.desk.doctype.event.event.has_permission", | ||
# } | ||
|
||
# Document Events | ||
# --------------- | ||
# Hook on document methods and events | ||
|
||
# doc_events = { | ||
# "*": { | ||
# "on_update": "method", | ||
# "on_cancel": "method", | ||
# "on_trash": "method" | ||
# } | ||
# } | ||
|
||
# Scheduled Tasks | ||
# --------------- | ||
|
||
# scheduler_events = { | ||
# "all": [ | ||
# "bookingapp.tasks.all" | ||
# ], | ||
# "daily": [ | ||
# "bookingapp.tasks.daily" | ||
# ], | ||
# "hourly": [ | ||
# "bookingapp.tasks.hourly" | ||
# ], | ||
# "weekly": [ | ||
# "bookingapp.tasks.weekly" | ||
# ] | ||
# "monthly": [ | ||
# "bookingapp.tasks.monthly" | ||
# ] | ||
# } | ||
|
||
# Testing | ||
# ------- | ||
|
||
# before_tests = "bookingapp.install.before_tests" | ||
|
||
# Overriding Whitelisted Methods | ||
# ------------------------------ | ||
# | ||
# override_whitelisted_methods = { | ||
# "frappe.desk.doctype.event.event.get_events": "bookingapp.event.get_events" | ||
# } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Booking Service App |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
License: MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
frappe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
from setuptools import setup, find_packages | ||
import re, ast | ||
|
||
with open('requirements.txt') as f: | ||
install_requires = f.read().strip().split('\n') | ||
|
||
# get version from __version__ variable in bookingapp/__init__.py | ||
_version_re = re.compile(r'__version__\s+=\s+(.*)') | ||
|
||
with open('bookingapp/__init__.py', 'rb') as f: | ||
version = str(ast.literal_eval(_version_re.search( | ||
f.read().decode('utf-8')).group(1))) | ||
|
||
setup( | ||
name='bookingapp', | ||
version=version, | ||
description='Booking Any type of Service', | ||
author='Jigar Tarpara', | ||
author_email='[email protected]', | ||
packages=find_packages(), | ||
zip_safe=False, | ||
include_package_data=True, | ||
install_requires=install_requires | ||
) |