update readme.md

This commit is contained in:
2025-07-25 15:35:07 +02:00
parent 31d06f9941
commit 24ca9bf9da

View File

@@ -1,33 +1,20 @@
# README #
**cao_blogr** is mini app for blogging developed with the Pyramid framework
Ce site web est le site officiel de l'association Meditation Suybyata Paris.
Il est développé avec les composants open source suivants :
## How do I get set up? ##
## Backend
- Change directory into your newly created Pyramid project.
- [Python](https://www.python.org/downloads/) 3.11
- [Pyramid web framework](https://trypyramid.com/) 2.0.2
- [SQLite Database](https://sqlite.org/) 3.40.1 sur Windows Server 2008 R2 Standard
- [NGINX web server](https://nginx.org/) sur Debian GNU/Linux 12 (bookworm)
` cd cao_blogr `
## Frontend
- Create a Python virtual environment.
- [Bootstrap](https://getbootstrap.com/) v5.3.0
- Jinja2 templates
`python3 -m venv env `
- Upgrade packaging tools.
[Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
`env/bin/pip install --upgrade pip setuptools `
- Install the project in editable mode with its testing requirements.
` env/bin/pip install -e ".[testing]" `
- 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 `