Skip to content

Commit a5b9dd1

Browse files
Built site for gh-pages
1 parent e2f0db3 commit a5b9dd1

File tree

5 files changed

+47
-16
lines changed

5 files changed

+47
-16
lines changed

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d2f987ad
1+
70c5cb36

docs/customization.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ <h2 id="toc-title">On this page</h2>
178178
<li><a href="#dependency-management-with-poetry" id="toc-dependency-management-with-poetry" class="nav-link" data-scroll-target="#dependency-management-with-poetry">Dependency management with Poetry</a></li>
179179
<li><a href="#testing" id="toc-testing" class="nav-link" data-scroll-target="#testing">Testing</a></li>
180180
<li><a href="#type-checking-with-mypy" id="toc-type-checking-with-mypy" class="nav-link" data-scroll-target="#type-checking-with-mypy">Type checking with mypy</a></li>
181+
<li><a href="#developing-with-llms" id="toc-developing-with-llms" class="nav-link" data-scroll-target="#developing-with-llms">Developing with LLMs</a></li>
181182
</ul></li>
182183
<li><a href="#project-structure" id="toc-project-structure" class="nav-link" data-scroll-target="#project-structure">Project structure</a>
183184
<ul class="collapse">
@@ -252,6 +253,10 @@ <h3 class="anchored" data-anchor-id="type-checking-with-mypy">Type checking with
252253
<div class="sourceCode" id="cb1"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="ex">mypy</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
253254
<p>We find that mypy is an enormous time-saver, catching many errors early and greatly reducing time spent debugging unit tests. However, note that mypy requires you type annotate every variable, function, and method in your code base, so taking advantage of it is a lifestyle change!</p>
254255
</section>
256+
<section id="developing-with-llms" class="level3">
257+
<h3 class="anchored" data-anchor-id="developing-with-llms">Developing with LLMs</h3>
258+
<p>In line with the <a href="https://llmstxt.org/">llms.txt standard</a>, we have exposed the full Markdown-formatted project documentation as a <a href="https://promptlytechnologies.com/docs/static/llms.txt">single text file</a> to make it more usable by LLM agents.</p>
259+
</section>
255260
</section>
256261
<section id="project-structure" class="level2">
257262
<h2 class="anchored" data-anchor-id="project-structure">Project structure</h2>

index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,10 @@ <h2 id="toc-title">On this page</h2>
186186
<li><a href="#start-development-database" id="toc-start-development-database" class="nav-link" data-scroll-target="#start-development-database">Start development database</a></li>
187187
<li><a href="#run-the-development-server" id="toc-run-the-development-server" class="nav-link" data-scroll-target="#run-the-development-server">Run the development server</a></li>
188188
<li><a href="#lint-types-with-mypy" id="toc-lint-types-with-mypy" class="nav-link" data-scroll-target="#lint-types-with-mypy">Lint types with mypy</a></li>
189+
</ul></li>
190+
<li><a href="#developing-with-llms" id="toc-developing-with-llms" class="nav-link" data-scroll-target="#developing-with-llms">Developing with LLMs</a></li>
189191
<li><a href="#contributing" id="toc-contributing" class="nav-link" data-scroll-target="#contributing">Contributing</a></li>
190192
<li><a href="#license" id="toc-license" class="nav-link" data-scroll-target="#license">License</a></li>
191-
</ul></li>
192193
</ul>
193194
</nav>
194195
</div>
@@ -322,16 +323,20 @@ <h3 class="anchored" data-anchor-id="run-the-development-server">Run the develop
322323
<h3 class="anchored" data-anchor-id="lint-types-with-mypy">Lint types with mypy</h3>
323324
<div class="sourceCode" id="cb8"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="ex">mypy</span> .</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
324325
</section>
325-
<section id="contributing" class="level3">
326-
<h3 class="anchored" data-anchor-id="contributing">Contributing</h3>
326+
</section>
327+
<section id="developing-with-llms" class="level2">
328+
<h2 class="anchored" data-anchor-id="developing-with-llms">Developing with LLMs</h2>
329+
<p>In line with the <a href="https://llmstxt.org/">llms.txt standard</a>, we have exposed the full Markdown-formatted project documentation as a <a href="https://promptlytechnologies.com/docs/static/llms.txt">single text file</a> to make it more usable by LLM agents.</p>
330+
</section>
331+
<section id="contributing" class="level2">
332+
<h2 class="anchored" data-anchor-id="contributing">Contributing</h2>
327333
<p>Your contributions are welcome! See the <a href="https://github.com/promptly-technologies-llc/fastapi-jinja2-postgres-webapp/issues">issues page</a> for ideas. Fork the repository, create a new branch, make your changes, and submit a pull request.</p>
328334
</section>
329-
<section id="license" class="level3">
330-
<h3 class="anchored" data-anchor-id="license">License</h3>
335+
<section id="license" class="level2">
336+
<h2 class="anchored" data-anchor-id="license">License</h2>
331337
<p>This project is created and maintained by <a href="https://promptlytechnologies.com/">Promptly Technologies, LLC</a> and licensed under the MIT License. See the LICENSE file for more details.</p>
332338

333339

334-
</section>
335340
</section>
336341

337342
</main> <!-- /main -->

search.json

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,28 @@
3939
"href": "index.html#installation",
4040
"title": "FastAPI, Jinja2, PostgreSQL Webapp Template",
4141
"section": "Installation",
42-
"text": "Installation\nFor comprehensive installation instructions, see the installation page.\n\nPython and Docker\n\nPython 3.12 or higher\nDocker and Docker Compose\n\n\n\nPostgreSQL headers\nFor Ubuntu/Debian:\nsudo apt update && sudo apt install -y python3-dev libpq-dev\nFor macOS:\nbrew install postgresql\nFor Windows:\n\nNo installation required\n\n\n\nPython dependencies\n\nInstall Poetry\n\npipx install poetry\n\nInstall project dependencies\n\npoetry install\n\nActivate shell\n\npoetry shell\n(Note: You will need to activate the shell every time you open a new terminal session. Alternatively, you can use the poetry run prefix before other commands to run them without activating the shell.)\n\n\nSet environment variables\nCopy .env.example to .env with cp .env.example .env.\nGenerate a 256 bit secret key with openssl rand -base64 32 and paste it into the .env file.\nSet your desired database name, username, and password in the .env file.\nTo use password recovery, register a Resend account, verify a domain, get an API key, and paste the API key into the .env file.\n\n\nStart development database\ndocker compose up -d\n\n\nRun the development server\nMake sure the development database is running and tables and default permissions/roles are created first.\nuvicorn main:app --host 0.0.0.0 --port 8000 --reload\nNavigate to http://localhost:8000/\n\n\nLint types with mypy\nmypy .\n\n\nContributing\nYour contributions are welcome! See the issues page for ideas. Fork the repository, create a new branch, make your changes, and submit a pull request.\n\n\nLicense\nThis project is created and maintained by Promptly Technologies, LLC and licensed under the MIT License. See the LICENSE file for more details."
42+
"text": "Installation\nFor comprehensive installation instructions, see the installation page.\n\nPython and Docker\n\nPython 3.12 or higher\nDocker and Docker Compose\n\n\n\nPostgreSQL headers\nFor Ubuntu/Debian:\nsudo apt update && sudo apt install -y python3-dev libpq-dev\nFor macOS:\nbrew install postgresql\nFor Windows:\n\nNo installation required\n\n\n\nPython dependencies\n\nInstall Poetry\n\npipx install poetry\n\nInstall project dependencies\n\npoetry install\n\nActivate shell\n\npoetry shell\n(Note: You will need to activate the shell every time you open a new terminal session. Alternatively, you can use the poetry run prefix before other commands to run them without activating the shell.)\n\n\nSet environment variables\nCopy .env.example to .env with cp .env.example .env.\nGenerate a 256 bit secret key with openssl rand -base64 32 and paste it into the .env file.\nSet your desired database name, username, and password in the .env file.\nTo use password recovery, register a Resend account, verify a domain, get an API key, and paste the API key into the .env file.\n\n\nStart development database\ndocker compose up -d\n\n\nRun the development server\nMake sure the development database is running and tables and default permissions/roles are created first.\nuvicorn main:app --host 0.0.0.0 --port 8000 --reload\nNavigate to http://localhost:8000/\n\n\nLint types with mypy\nmypy ."
43+
},
44+
{
45+
"objectID": "index.html#developing-with-llms",
46+
"href": "index.html#developing-with-llms",
47+
"title": "FastAPI, Jinja2, PostgreSQL Webapp Template",
48+
"section": "Developing with LLMs",
49+
"text": "Developing with LLMs\nIn line with the llms.txt standard, we have exposed the full Markdown-formatted project documentation as a single text file to make it more usable by LLM agents."
50+
},
51+
{
52+
"objectID": "index.html#contributing",
53+
"href": "index.html#contributing",
54+
"title": "FastAPI, Jinja2, PostgreSQL Webapp Template",
55+
"section": "Contributing",
56+
"text": "Contributing\nYour contributions are welcome! See the issues page for ideas. Fork the repository, create a new branch, make your changes, and submit a pull request."
57+
},
58+
{
59+
"objectID": "index.html#license",
60+
"href": "index.html#license",
61+
"title": "FastAPI, Jinja2, PostgreSQL Webapp Template",
62+
"section": "License",
63+
"text": "License\nThis project is created and maintained by Promptly Technologies, LLC and licensed under the MIT License. See the LICENSE file for more details."
4364
},
4465
{
4566
"objectID": "docs/contributing.html",
@@ -116,14 +137,14 @@
116137
"href": "docs/customization.html",
117138
"title": "Customization",
118139
"section": "",
119-
"text": "The project uses Poetry to manage dependencies:\n\nAdd new dependency: poetry add &lt;dependency&gt;\nAdd development dependency: poetry add --dev &lt;dependency&gt;\nRemove dependency: poetry remove &lt;dependency&gt;\nUpdate lock file: poetry lock\nInstall dependencies: poetry install\nUpdate all dependencies: poetry update\n\n\n\n\nThe project uses Pytest for unit testing. It’s highly recommended to write and run tests before committing code to ensure nothing is broken!\nThe following fixtures, defined in tests/conftest.py, are available in the test suite:\n\nengine: Creates a new SQLModel engine for the test database.\nset_up_database: Sets up the test database before running the test suite by dropping all tables and recreating them to ensure a clean state.\nsession: Provides a session for database operations in tests.\nclean_db: Cleans up the database tables before each test by deleting all entries in the PasswordResetToken and User tables.\nclient: Provides a TestClient instance with the session fixture, overriding the get_session dependency to use the test session.\ntest_user: Creates a test user in the database with a predefined name, email, and hashed password.\n\nTo run the tests, use these commands:\n\nRun all tests: pytest\nRun tests in debug mode (includes logs and print statements in console output): pytest -s\nRun particular test files by name: pytest &lt;test_file_name&gt;\nRun particular tests by name: pytest -k &lt;test_name&gt;\n\n\n\n\nThe project uses type annotations and mypy for static type checking. To run mypy, use this command from the root directory:\nmypy\nWe find that mypy is an enormous time-saver, catching many errors early and greatly reducing time spent debugging unit tests. However, note that mypy requires you type annotate every variable, function, and method in your code base, so taking advantage of it is a lifestyle change!"
140+
"text": "The project uses Poetry to manage dependencies:\n\nAdd new dependency: poetry add &lt;dependency&gt;\nAdd development dependency: poetry add --dev &lt;dependency&gt;\nRemove dependency: poetry remove &lt;dependency&gt;\nUpdate lock file: poetry lock\nInstall dependencies: poetry install\nUpdate all dependencies: poetry update\n\n\n\n\nThe project uses Pytest for unit testing. It’s highly recommended to write and run tests before committing code to ensure nothing is broken!\nThe following fixtures, defined in tests/conftest.py, are available in the test suite:\n\nengine: Creates a new SQLModel engine for the test database.\nset_up_database: Sets up the test database before running the test suite by dropping all tables and recreating them to ensure a clean state.\nsession: Provides a session for database operations in tests.\nclean_db: Cleans up the database tables before each test by deleting all entries in the PasswordResetToken and User tables.\nclient: Provides a TestClient instance with the session fixture, overriding the get_session dependency to use the test session.\ntest_user: Creates a test user in the database with a predefined name, email, and hashed password.\n\nTo run the tests, use these commands:\n\nRun all tests: pytest\nRun tests in debug mode (includes logs and print statements in console output): pytest -s\nRun particular test files by name: pytest &lt;test_file_name&gt;\nRun particular tests by name: pytest -k &lt;test_name&gt;\n\n\n\n\nThe project uses type annotations and mypy for static type checking. To run mypy, use this command from the root directory:\nmypy\nWe find that mypy is an enormous time-saver, catching many errors early and greatly reducing time spent debugging unit tests. However, note that mypy requires you type annotate every variable, function, and method in your code base, so taking advantage of it is a lifestyle change!\n\n\n\nIn line with the llms.txt standard, we have exposed the full Markdown-formatted project documentation as a single text file to make it more usable by LLM agents."
120141
},
121142
{
122143
"objectID": "docs/customization.html#development-workflow",
123144
"href": "docs/customization.html#development-workflow",
124145
"title": "Customization",
125146
"section": "",
126-
"text": "The project uses Poetry to manage dependencies:\n\nAdd new dependency: poetry add &lt;dependency&gt;\nAdd development dependency: poetry add --dev &lt;dependency&gt;\nRemove dependency: poetry remove &lt;dependency&gt;\nUpdate lock file: poetry lock\nInstall dependencies: poetry install\nUpdate all dependencies: poetry update\n\n\n\n\nThe project uses Pytest for unit testing. It’s highly recommended to write and run tests before committing code to ensure nothing is broken!\nThe following fixtures, defined in tests/conftest.py, are available in the test suite:\n\nengine: Creates a new SQLModel engine for the test database.\nset_up_database: Sets up the test database before running the test suite by dropping all tables and recreating them to ensure a clean state.\nsession: Provides a session for database operations in tests.\nclean_db: Cleans up the database tables before each test by deleting all entries in the PasswordResetToken and User tables.\nclient: Provides a TestClient instance with the session fixture, overriding the get_session dependency to use the test session.\ntest_user: Creates a test user in the database with a predefined name, email, and hashed password.\n\nTo run the tests, use these commands:\n\nRun all tests: pytest\nRun tests in debug mode (includes logs and print statements in console output): pytest -s\nRun particular test files by name: pytest &lt;test_file_name&gt;\nRun particular tests by name: pytest -k &lt;test_name&gt;\n\n\n\n\nThe project uses type annotations and mypy for static type checking. To run mypy, use this command from the root directory:\nmypy\nWe find that mypy is an enormous time-saver, catching many errors early and greatly reducing time spent debugging unit tests. However, note that mypy requires you type annotate every variable, function, and method in your code base, so taking advantage of it is a lifestyle change!"
147+
"text": "The project uses Poetry to manage dependencies:\n\nAdd new dependency: poetry add &lt;dependency&gt;\nAdd development dependency: poetry add --dev &lt;dependency&gt;\nRemove dependency: poetry remove &lt;dependency&gt;\nUpdate lock file: poetry lock\nInstall dependencies: poetry install\nUpdate all dependencies: poetry update\n\n\n\n\nThe project uses Pytest for unit testing. It’s highly recommended to write and run tests before committing code to ensure nothing is broken!\nThe following fixtures, defined in tests/conftest.py, are available in the test suite:\n\nengine: Creates a new SQLModel engine for the test database.\nset_up_database: Sets up the test database before running the test suite by dropping all tables and recreating them to ensure a clean state.\nsession: Provides a session for database operations in tests.\nclean_db: Cleans up the database tables before each test by deleting all entries in the PasswordResetToken and User tables.\nclient: Provides a TestClient instance with the session fixture, overriding the get_session dependency to use the test session.\ntest_user: Creates a test user in the database with a predefined name, email, and hashed password.\n\nTo run the tests, use these commands:\n\nRun all tests: pytest\nRun tests in debug mode (includes logs and print statements in console output): pytest -s\nRun particular test files by name: pytest &lt;test_file_name&gt;\nRun particular tests by name: pytest -k &lt;test_name&gt;\n\n\n\n\nThe project uses type annotations and mypy for static type checking. To run mypy, use this command from the root directory:\nmypy\nWe find that mypy is an enormous time-saver, catching many errors early and greatly reducing time spent debugging unit tests. However, note that mypy requires you type annotate every variable, function, and method in your code base, so taking advantage of it is a lifestyle change!\n\n\n\nIn line with the llms.txt standard, we have exposed the full Markdown-formatted project documentation as a single text file to make it more usable by LLM agents."
127148
},
128149
{
129150
"objectID": "docs/customization.html#project-structure",

sitemap.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/index.html</loc>
5-
<lastmod>2024-11-23T20:26:08.094Z</lastmod>
5+
<lastmod>2024-11-26T15:26:03.042Z</lastmod>
66
</url>
77
<url>
88
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/docs/deployment.html</loc>
99
<lastmod>2024-11-19T23:41:34.489Z</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/docs/contributing.html</loc>
13-
<lastmod>2024-11-23T20:26:08.030Z</lastmod>
13+
<lastmod>2024-11-24T22:48:31.597Z</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/docs/architecture.html</loc>
17-
<lastmod>2024-11-23T20:26:07.979Z</lastmod>
17+
<lastmod>2024-11-24T22:48:31.289Z</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/docs/authentication.html</loc>
21-
<lastmod>2024-11-23T20:26:08.021Z</lastmod>
21+
<lastmod>2024-11-24T22:48:31.555Z</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/docs/customization.html</loc>
25-
<lastmod>2024-11-24T01:22:49.881Z</lastmod>
25+
<lastmod>2024-11-26T15:26:48.501Z</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://Promptly-Technologies-LLC.github.io/fastapi-jinja2-postgres-webapp/docs/installation.html</loc>
29-
<lastmod>2024-11-23T20:26:08.073Z</lastmod>
29+
<lastmod>2024-11-26T15:05:41.736Z</lastmod>
3030
</url>
3131
</urlset>

0 commit comments

Comments
 (0)