Skip to content

Commit

Permalink
MySendGridSender example
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed Jul 6, 2024
1 parent f68dd4f commit f93346d
Show file tree
Hide file tree
Showing 50 changed files with 745 additions and 332 deletions.
2 changes: 1 addition & 1 deletion apps/_documentation/static/en/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 44b3435943ab4835c7a6a204b6a121fa
config: d62c19ebef7c157f7809c434c3c4b977
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified apps/_documentation/static/en/_images/first_run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '1.20240530.2',
VERSION: '20240630',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-01.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>What is py4web? &mdash; py4web 1.20240530.2 documentation</title>
<title>What is py4web? &mdash; py4web 20240630 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
Expand All @@ -18,7 +18,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=36eae118"></script>
<script src="_static/documentation_options.js?v=5f3eb493"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -42,7 +42,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20240530.2
20240630
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -258,7 +258,7 @@ <h2>Acknowledgments<a class="headerlink" href="#acknowledgments" title="Link to
<label for="switch"></label>
</span>

v: 1.20240530.2
v: 20240630
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-02.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Help, resources and hints &mdash; py4web 1.20240530.2 documentation</title>
<title>Help, resources and hints &mdash; py4web 20240630 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
Expand All @@ -18,7 +18,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=36eae118"></script>
<script src="_static/documentation_options.js?v=5f3eb493"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -42,7 +42,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20240530.2
20240630
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -273,7 +273,7 @@ <h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Link
<label for="switch"></label>
</span>

v: 1.20240530.2
v: 20240630
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
17 changes: 10 additions & 7 deletions apps/_documentation/static/en/chapter-03.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Installation and Startup &mdash; py4web 1.20240530.2 documentation</title>
<title>Installation and Startup &mdash; py4web 20240630 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
Expand All @@ -18,7 +18,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=36eae118"></script>
<script src="_static/documentation_options.js?v=5f3eb493"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/tabs.js?v=3030b3cb"></script>
Expand All @@ -43,7 +43,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20240530.2
20240630
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -313,7 +313,7 @@ <h2>Upgrading<a class="headerlink" href="#upgrading" title="Link to this heading
<p>This will not automatically upgrade the standard apps like <strong>Dashboard</strong>
and <strong>Default</strong>.
You have to manually remove these apps and then run</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>py4web setup apps
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>py4web setup &lt;path to apps_folder&gt;
</pre></div>
</div>
<p>in order to re-install them. This is a safety precaution, in case you
Expand Down Expand Up @@ -344,7 +344,7 @@ <h2>First run<a class="headerlink" href="#first-run" title="Link to this heading
to avoid conflicts with apps created by you.</p>
</div>
<p>Once py4web is running you can access a specific app at the following
urls:</p>
urls from the local machine:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>http://localhost:8000
http://localhost:8000/_dashboard
http://localhost:8000/{yourappname}/index
Expand Down Expand Up @@ -423,7 +423,7 @@ <h2>Command line options<a class="headerlink" href="#command-line-options" title
-Y, --yes No prompt, assume yes to questions
[default: False]

-H, --host TEXT Host name [default: 127.0.0.1]
-H, --host TEXT Host listening IP [default: 127.0.0.1]
-P, --port INTEGER Port number [default: 8000]
-A, --app_names TEXT List of apps to run, comma separated (all if omitted or
empty)
Expand Down Expand Up @@ -456,6 +456,9 @@ <h2>Command line options<a class="headerlink" href="#command-line-options" title
</div>
<p>The <code class="docutils literal notranslate"><span class="pre">app_names</span></code> option lets you filter which specific apps you want to serve (comma separated). If absent or empty
all the apps in the APPS_FOLDER will be run.</p>
<p>By default (for security reasons) the py4web framework will listen only on 127.0.0.1, i.e. localhost.
If you need to reach it from other machines you must specify the host option,
like <code class="docutils literal notranslate"><span class="pre">py4web</span> <span class="pre">run</span> <span class="pre">--host</span> <span class="pre">0.0.0.0</span> <span class="pre">apps</span></code>.</p>
<p>The <code class="docutils literal notranslate"><span class="pre">url_prefix</span></code> option is useful for routing at the py4web level. It allows mapping to multiple versions of py4web
running on different ports as long as the url_prefix and port match the location. For example
<code class="docutils literal notranslate"><span class="pre">py4web</span> <span class="pre">run</span> <span class="pre">--url_prefix=/abracadabra</span> <span class="pre">--port</span> <span class="pre">8000</span> <span class="pre">apps</span></code>.</p>
Expand Down Expand Up @@ -730,7 +733,7 @@ <h3>Deployment on Ubuntu<a class="headerlink" href="#deployment-on-ubuntu" title
<label for="switch"></label>
</span>

v: 1.20240530.2
v: 20240630
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-04.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Dashboard &mdash; py4web 1.20240530.2 documentation</title>
<title>The Dashboard &mdash; py4web 20240630 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
Expand All @@ -18,7 +18,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=36eae118"></script>
<script src="_static/documentation_options.js?v=5f3eb493"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -42,7 +42,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20240530.2
20240630
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -200,7 +200,7 @@ <h2>Login into the Dashboard<a class="headerlink" href="#login-into-the-dashboar
<label for="switch"></label>
</span>

v: 1.20240530.2
v: 20240630
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
8 changes: 4 additions & 4 deletions apps/_documentation/static/en/chapter-05.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Creating an app &mdash; py4web 1.20240530.2 documentation</title>
<title>Creating an app &mdash; py4web 20240630 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
Expand All @@ -18,7 +18,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=36eae118"></script>
<script src="_static/documentation_options.js?v=5f3eb493"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
Expand All @@ -42,7 +42,7 @@
<img src="_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
1.20240530.2
20240630
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -502,7 +502,7 @@ <h2>Watch for files change<a class="headerlink" href="#watch-for-files-change" t
<label for="switch"></label>
</span>

v: 1.20240530.2
v: 20240630
<span class="fa fa-caret-down"></span>
</span>
<div class="rst-other-versions">
Expand Down
Loading

0 comments on commit f93346d

Please sign in to comment.