Skip to content

Commit

Permalink
deploy: e14659e
Browse files Browse the repository at this point in the history
  • Loading branch information
sjbrandenberg committed Jul 23, 2024
1 parent a087944 commit 54ab17c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
10 changes: 9 additions & 1 deletion SQLite_Example.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ <h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#jupyter-notebooks">Jupyter Notebooks</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#about-sqlite">About SQLite</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcomes">Learning outcomes</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#example-database">Example database</a><ul class="nav section-nav flex-column">
Expand All @@ -384,7 +385,13 @@ <h2> Contents </h2>
<h1>Creating a SQLite database<a class="headerlink" href="#creating-a-sqlite-database" title="Permalink to this heading">#</a></h1>
<p>2024 NHERI Computational Academy<br />
Scott J. Brandenberg <a class="reference external" href="mailto:sjbrandenberg&#37;&#52;&#48;g&#46;ucla&#46;edu">sjbrandenberg<span>&#64;</span>g<span>&#46;</span>ucla<span>&#46;</span>edu</a></p>
<p><a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a></p>
<section id="jupyter-notebooks">
<h2>Jupyter Notebooks<a class="headerlink" href="#jupyter-notebooks" title="Permalink to this heading">#</a></h2>
<p>Complete Notebook<br />
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a><br />
Template<br />
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example_Template.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a></p>
</section>
<section id="about-sqlite">
<h2>About SQLite<a class="headerlink" href="#about-sqlite" title="Permalink to this heading">#</a></h2>
<p>This script will create a SQLite database, which is a lightweight file-based SQL database engine. It comes installed with Python, so you don’t need to install any special packages or set up a SQL server on your computer to use it. Details can be found here: <a class="reference external" href="https://www.sqlite.org/">https://www.sqlite.org/</a>. There are, of course, other relational database management systems, like MySQL, Postgres, etc. However, to use these database engines, you either need to set up those databases on a server, or use software to make your computer simulate a server (e.g., XAMPP). So we’ll use SQLite here.</p>
Expand Down Expand Up @@ -932,6 +939,7 @@ <h3>Motions table<a class="headerlink" href="#motions-table" title="Permalink to
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#jupyter-notebooks">Jupyter Notebooks</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#about-sqlite">About SQLite</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcomes">Learning outcomes</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#example-database">Example database</a><ul class="nav section-nav flex-column">
Expand Down
6 changes: 5 additions & 1 deletion _sources/SQLite_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"2024 NHERI Computational Academy \n",
"Scott J. Brandenberg <[email protected]> \n",
"\n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb)\n",
"## Jupyter Notebooks \n",
"Complete Notebook \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb) \n",
"Template \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example_Template.ipynb.ipynb) \n",
"## About SQLite\n",
"\n",
"This script will create a SQLite database, which is a lightweight file-based SQL database engine. It comes installed with Python, so you don't need to install any special packages or set up a SQL server on your computer to use it. Details can be found here: https://www.sqlite.org/. There are, of course, other relational database management systems, like MySQL, Postgres, etc. However, to use these database engines, you either need to set up those databases on a server, or use software to make your computer simulate a server (e.g., XAMPP). So we'll use SQLite here.\n",
Expand Down
Loading

0 comments on commit 54ab17c

Please sign in to comment.