Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/florimondmanca/www
Code for https://florimond.dev
https://github.com/florimondmanca/www
ansible asgi jinja2 python starlette tailwindcss
Last synced: 20 days ago
JSON representation
Code for https://florimond.dev
- Host: GitHub
- URL: https://github.com/florimondmanca/www
- Owner: florimondmanca
- License: mit
- Created: 2018-10-07T13:14:57.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-25T14:44:32.000Z (8 months ago)
- Last Synced: 2025-01-11T09:11:58.910Z (22 days ago)
- Topics: ansible, asgi, jinja2, python, starlette, tailwindcss
- Language: Python
- Homepage:
- Size: 9.34 MB
- Stars: 32
- Watchers: 4
- Forks: 10
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# www
[![Build Status](https://dev.azure.com/florimondmanca/public/_apis/build/status/florimondmanca.www?branchName=main)](https://dev.azure.com/florimondmanca/public/_build/latest?definitionId=1&branchName=main)
[![Coverage](https://codecov.io/gh/florimondmanca/www/branch/main/graph/badge.svg?token=IT5DBiSTHK)](https://codecov.io/gh/florimondmanca/www)Code for https://florimond.dev.
## Prerequisites
- Python 3.12+
## Install
```bash
make install
```## Usage
Run the website locally:
```
make start
```Run the test suite:
```
make test
```Run automatic code formatting:
```
make format
```Run code checks:
```
make check
```Build assets:
```
make build
```## Settings
| Environment variable | Description | Default |
| -------------------- | ---------------------------------------------------------------------------- | ------- |
| `WWW_DEBUG` | Run in debug mode. Enables in-browser tracebacks and content hot reload. | `False` |
| `WWW_TESTING` | Run against mocked resources. | `False` |
| `WWW_EXTRA_CONTENT_DIRS` | Include content from extra directories. | None |## Deployment
Install deploy dependencies:
```
make install-deploy
```Deploy:
```bash
make deploy env=prod
```For more information, see [DEPLOYMENT.md](./DEPLOYMENT.md).
## License
- Code is licensed under MIT.
- Writings are my own.