# entries

title: My first blog
created: 2022-04-15 08:00:41.235542
edited: 2022-12-08 14:22:20.306750
tag: test
topic: blog
body:
  # README #

  **cao_blogr** is mini app for blogging developed with the Pyramid framework

  ## How do I get set up? ##

  - Change directory into your newly created Pyramid project.

      ` cd cao_blogr `

  - Create a Python virtual environment.

      `python3 -m venv env `

  - Upgrade packaging tools.

      `env/bin/pip install --upgrade pip setuptools `

  - Install the project in editable mode with its testing requirements.

     ` env/bin/pip install -e ".[testing]" `


  ADADAD

  - Initialize and upgrade the database using Alembic.

      - Generate your first revision.

          `env/bin/alembic -c development.ini revision --autogenerate -m "init" `

      - Upgrade to that revision.

          `env/bin/alembic -c development.ini upgrade head `

  - Load default data into the database using a script.

      ` env/bin/initialize_cao_blogr_db development.ini `

  - Run your project's tests.

      ` env/bin/pytest `

  - Run your project.

      `env/bin/pserve development.ini `

body_html:
  <h1>README</h1>

  <p><strong>cao_blogr</strong> is mini app for blogging developed with the Pyramid framework</p>

  <h2>How do I get set up?</h2>

  <ul>
  <li><p>Change directory into your newly created Pyramid project.</p>

  <p><code>cd cao_blogr</code></p></li>
  <li><p>Create a Python virtual environment.</p>

  <p><code>python3 -m venv env</code></p></li>
  <li><p>Upgrade packaging tools.</p>

  <p><code>env/bin/pip install --upgrade pip setuptools</code></p></li>
  <li><p>Install the project in editable mode with its testing requirements.</p>

  <p><code>env/bin/pip install -e ".[testing]"</code></p></li>
  </ul>

  <p>ADADAD</p>

  <ul>
  <li><p>Initialize and upgrade the database using Alembic.</p>

  <ul>
  <li><p>Generate your first revision.</p>

  <p><code>env/bin/alembic -c development.ini revision --autogenerate -m "init"</code></p></li>
  <li><p>Upgrade to that revision.</p>

  <p><code>env/bin/alembic -c development.ini upgrade head</code></p></li>
  </ul></li>
  <li><p>Load default data into the database using a script.</p>

  <p><code>env/bin/initialize_cao_blogr_db development.ini</code></p></li>
  <li><p>Run your project's tests.</p>

  <p><code>env/bin/pytest</code></p></li>
  <li><p>Run your project.</p>

  <p><code>env/bin/pserve development.ini</code></p></li>
  </ul>


# users

name: admin
last_logged: 2022-12-09 14:41:23.377146
password:
  $6$rounds=656000$fJNrkQmpXHkYLIwN$a2bWzHrydd.nZSj6yz1iIvBhFLu5qKZJwZgPDqFe01Arpexj0/veWLVNzs2Mjj1JYAeOaKVHFGzUo4ufAkeem0


name: phuoc
last_logged: 2022-12-09 14:41:51.119562
password:
  $6$rounds=656000$wP0klaBNOoIYnZxv$.dLHKvnTGRTeTdLwJIU8G9VD4xpGMaOVMiRaYNIk/RdBKPnmo8.gHnMbM.CSXWj3k9R/0ruCsukuPz5sHw8jA0


