Skip to content

Commit ef82cb8

Browse files
committed
cleanup
1 parent f4ab216 commit ef82cb8

File tree

4 files changed

+12
-262
lines changed

4 files changed

+12
-262
lines changed

.all-contributorsrc

Lines changed: 0 additions & 100 deletions
This file was deleted.

.readthedocs.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.md

Lines changed: 12 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -1,144 +1,32 @@
1-
<p align="center">
2-
<a href="https://falco.oluwatobi.dev/"><img src="https://raw.githubusercontent.com/Tobi-De/falco/main/docs/_static/falco-logo.svg" alt="falco logo" height="200"/></a>
3-
</p>
1+
# falco-cli
42

5-
<h1 align="center">
6-
<a href="https://falco.oluwatobi.dev">Falco</a>
7-
<p>An opinionated toolkit for a modern Django development experience</p>
8-
</h1>
3+
**An opinionated toolkit for building web apps faster with Django**
94

10-
[![CI](https://github.com/Tobi-De/falco/actions/workflows/ci.yml/badge.svg)](https://github.com/Tobi-De/falco/actions/workflows/ci.yml)
11-
[![Publish Python Package](https://github.com/Tobi-De/falco/actions/workflows/publish.yml/badge.svg)](https://github.com/Tobi-De/falco/actions/workflows/publish.yml)
5+
<img align="right" width="170" height="150" src="https://raw.githubusercontent.com/falcopackages/falco/refs/heads/main/docs/_static/falco-logo.svg">
6+
7+
[![CI](https://github.com/falcopackages/falco-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/falcopackages/falco-cli/actions/workflows/ci.yml)
8+
[![Publish Python Package](https://github.com/falcopackages/falco-cli/actions/workflows/publish.yml/badge.svg)](https://github.com/falcopackages/falco-cli/actions/workflows/publish.yml)
129
[![Documentation](https://readthedocs.org/projects/falco-cli/badge/?version=latest&style=flat)](https://beta.readthedocs.org/projects/falco-cli/builds/?version=latest)
1310
[![pypi](https://badge.fury.io/py/falco-cli.svg)](https://pypi.org/project/falco-cli/)
14-
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
15-
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
16-
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Tobi-De/falco/blob/main/LICENSE)
11+
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
12+
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/falcopackages/falco-cli/blob/main/LICENSE)
1713
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/falco-cli)](https://pypi.org/project/falco-cli/)
1814
[![PyPI - Versions from Framework Classifiers](https://img.shields.io/pypi/frameworkversions/django/falco-cli)](https://pypi.org/project/falco-cli/)
1915
[![PyPI - Downloads](https://img.shields.io/pypi/dm/falco-cli)](https://pypistats.org/packages/falco-cli)
2016

2117
> [!WARNING]
22-
> The falco CLI isn't stable at the moment; stability is expected with the 1.0.0 release. I'm still making numerous changes quite frequently. If you're currently using it, remember to run `pip install --upgrade falco-cli` from time to time.
23-
24-
Falco is a Django-centric toolkit designed to enhance the development experience. The CLI offers commands for initiating new projects, generating simple CRUD views for rapid prototyping, and more. Additionally, it provides a collection of guides to address common issues in web development specifically tailored to Django.
25-
26-
<!-- [![Read the full documentation](https://img.shields.io/badge/Read%20The%20full%20Documentation-blue?style=for-the-badge&logo=ReadTheDocs)](https://falco.oluwatobi.dev) -->
27-
28-
29-
## The CLI
30-
31-
This is a set of commands to help you throughout the lifecycle of your django project development, from bootstrapping a new project using modern tools like [htmx](https://htmx.org), [hatch](https://github.com/pypa/hatch), [tailwindcss](https://tailwindcss.com/), to generating CRUD views for your models and a few utilities that might help during deployment.
18+
> The falco CLI isn't stable at the moment; stability is expected with the 1.0.0 release. I'm still making numerous changes quite frequently. If you're currently using it, remember to run `uv tool install --upgrade falco-cli` from time to time.
3219
33-
For a brief introduction to the user experience of the CLI, visit this [page](https://falco.oluwatobi.dev/the_cli/usage.html).
34-
<!-- [![The CLI full documentation](https://img.shields.io/badge/Read%20The%20CLI%20Documentation-blue?style=for-the-badge&logo=ReadTheDocs)](https://falco.oluwatobi.dev/the_cli/) -->
3520

3621

3722
```sh
38-
pip install falco-cli
23+
uv tool install falco-cli
3924
```
4025

41-
- [start-project](https://falco.oluwatobi.dev/the_cli/start_project/index.html): Initialize a new django project the falco way.
42-
- [update-project](https://falco.oluwatobi.dev/the_cli/start_project/index.html): Update your project to get the latest falco features (**experimental**).
43-
- [start-app](https://falco.oluwatobi.dev/the_cli/start_app.html): Initialize a new django app the falco way.
44-
- [crud](https://falco.oluwatobi.dev/the_cli/crud.html): Generate CRUD (Create, Read, Update, Delete) views for a model.
45-
- [install-crud-utils](https://falco.oluwatobi.dev/the_cli/crud.html#install-crud-utils): Install utils necessary for CRUD views.
46-
- [work](https://falco.oluwatobi.dev/the_cli/work.html): Run all the services required to run your django project in parallel with a single command. (development only)
47-
- [htmx](https://falco.oluwatobi.dev/the_cli/htmx.html): Download a local copy of the latest version of htmx.
48-
- [htmx-ext](https://falco.oluwatobi.dev/the_cli/htmx.html#falco-htmx-ext): Download one of htmx extensions.
49-
- [sync-dotenv](https://falco.oluwatobi.dev/the_cli/sync_dotenv.html): Synchronize the `.env` file with the `.env.template` file.
50-
- [rm-migrations](https://falco.oluwatobi.dev/the_cli/migrations.html): Remove all migrations for the specified applications directory. (development only)
51-
- [reset-migrations](https://falco.oluwatobi.dev/the_cli/migrations.html#reset-migrations): Delete and recreate all migrations. (development only)
52-
5326

5427
**Templates**
5528

56-
- [tailwind](https://github.com/Tobi-De/falco_tailwind) (default)
57-
- [bootstrap](https://github.com/Tobi-De/falco_bootstrap)
58-
59-
## The guides
60-
61-
> [!NOTE]
62-
> These are currently a work in progress. Most of them are half-written or not written at all. I hope
63-
> to get them in a usable state ~~by the end of january 2024~~ as soon as I can. To receive updates [subscribe to this discussion](https://github.com/Tobi-De/falco/discussions/39) or
64-
> follow me on [x](https://twitter.com/tobidegnon) or [mastodon](https://fosstodon.org/@tobide)
65-
66-
If you don't find any use of the CLI, I hope you will in these guides. This is a collection of guides that address common issues in web development, specifically tailored to Django. Each guide provides solutions, patterns, and approaches that are relevant to Django projects. It is similar to the [Django topic guides](https://docs.djangoproject.com/en/5.0/topics/), but instead of focusing on components of the framework like `forms`, `models`, `views`, etc., it focuses on more general topics like `task queues`, `deployment`, `realtime`, etc.
67-
68-
<!--
69-
[![The full Guides](https://img.shields.io/badge/Read%20The%20Full%20Guides-blue?style=for-the-badge&logo=ReadTheDocs)](https://falco.oluwatobi.dev/guides/) -->
70-
71-
72-
<!-- GUIDES-LIST:START -->
73-
- [Interactive user interfaces](https://falco.oluwatobi.dev/guides/interactive_user_interfaces.html)
74-
- [Task Queues and Schedulers](https://falco.oluwatobi.dev/guides/task_queues_and_schedulers.html)
75-
- [Writing documentation](https://falco.oluwatobi.dev/guides/writing_documentation.html)
76-
- [Writing tests](https://falco.oluwatobi.dev/guides/writing_tests.html)
77-
- [Logging and monitoring](https://falco.oluwatobi.dev/guides/logging_and_monitoring.html)
78-
- [The ultimate deployment guide](https://falco.oluwatobi.dev/guides/deployment.html)
79-
- [Optimizing Database Access](https://falco.oluwatobi.dev/guides/optimizing_database_access.html)
80-
- [Business logic in django](https://falco.oluwatobi.dev/guides/avoiding_god_models.html)
81-
- [Dynamic Model Schema](https://falco.oluwatobi.dev/guides/dynamic_model_schema.html)
82-
- [Realtime in Django: Websockets, SSE, Polling](https://falco.oluwatobi.dev/guides/realtime.html)
83-
- [Permissions and authorizations](https://falco.oluwatobi.dev/guides/permissions_and_authorization.html)
84-
- [Database Tips: Backup, Scaling, Triggers, and More](https://falco.oluwatobi.dev/guides/database_tips.html)
85-
- [Managing Multi-tenancy in Django](https://falco.oluwatobi.dev/guides/multitenancy.html)
86-
- [Async Coding in Django](https://falco.oluwatobi.dev/guides/writing_async_code.html)
87-
- [Use Sqlite in production](https://falco.oluwatobi.dev/guides/use_sqlite_in_production.html)
88-
- [Running your project in a single container](https://falco.oluwatobi.dev/guides/running_project_in_a_container.html)
89-
- [Tips and extra](https://falco.oluwatobi.dev/guides/tips_and_extra.html)
90-
<!-- GUIDES-LIST:END -->
91-
92-
## Acknowledgements
93-
94-
Falco is inspired by (and borrows elements from) some excellent open source projects:
95-
96-
- [cookiecutter-django](https://github.com/cookiecutter/cookiecutter-django)
97-
- [fuzzy-couscous](https://github.com/Tobi-De/fuzzy-couscous) (predecessor of falco)
98-
- [django-hatch-startproject](https://github.com/oliverandrich/django-hatch-startproject)
99-
- [django-unicorn](https://github.com/adamghill/django-unicorn) (Inspiration for the logo)
100-
- [neapolitan](https://github.com/carltongibson/neapolitan)
101-
- [django-base-site](https://github.com/epicserve/django-base-site)
102-
- [django-twc-project](https://github.com/westerveltco/django-twc-project)
103-
104-
## Contributors
105-
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
106-
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
107-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
108-
109-
<!-- contributors:start -->
110-
Thanks to the following wonderful people [emoji key](https://allcontributors.org/docs/en/emoji-key) who have helped build `falco`.
111-
112-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
113-
<!-- prettier-ignore-start -->
114-
<!-- markdownlint-disable -->
115-
<table>
116-
<tbody>
117-
<tr>
118-
<td align="center" valign="top" width="14.28%"><a href="http://oluwatobi.dev"><img src="https://avatars.githubusercontent.com/u/40334729?v=4?s=100" width="100px;" alt="Tobi DEGNON"/><br /><sub><b>Tobi DEGNON</b></sub></a><br /><a href="https://github.com/Tobi-De/falco/commits?author=Tobi-De" title="Code">💻</a> <a href="https://github.com/Tobi-De/falco/commits?author=Tobi-De" title="Documentation">📖</a> <a href="https://github.com/Tobi-De/falco/commits?author=Tobi-De" title="Tests">⚠️</a></td>
119-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hammadarshad1"><img src="https://avatars.githubusercontent.com/u/45298916?v=4?s=100" width="100px;" alt="Muhammad Hammad"/><br /><sub><b>Muhammad Hammad</b></sub></a><br /><a href="#ideas-hammadarshad1" title="Ideas, Planning, & Feedback">🤔</a></td>
120-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mathiasag7"><img src="https://avatars.githubusercontent.com/u/50689712?v=4?s=100" width="100px;" alt="mathiasag7"/><br /><sub><b>mathiasag7</b></sub></a><br /><a href="https://github.com/Tobi-De/falco/commits?author=mathiasag7" title="Code">💻</a></td>
121-
<td align="center" valign="top" width="14.28%"><a href="http://mainlydata.kubadev.com"><img src="https://avatars.githubusercontent.com/u/403435?v=4?s=100" width="100px;" alt="Richard Shea"/><br /><sub><b>Richard Shea</b></sub></a><br /><a href="https://github.com/Tobi-De/falco/commits?author=shearichard" title="Documentation">📖</a></td>
122-
<td align="center" valign="top" width="14.28%"><a href="https://lexumsoft.com/"><img src="https://avatars.githubusercontent.com/u/96701299?v=4?s=100" width="100px;" alt="Waqar Khan"/><br /><sub><b>Waqar Khan</b></sub></a><br /><a href="https://github.com/Tobi-De/falco/commits?author=786raees" title="Code">💻</a></td>
123-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tissieres"><img src="https://avatars.githubusercontent.com/u/2410978?v=4?s=100" width="100px;" alt="tissieres"/><br /><sub><b>tissieres</b></sub></a><br /><a href="#financial-tissieres" title="Financial">💵</a></td>
124-
<td align="center" valign="top" width="14.28%"><a href="https://lepture.com"><img src="https://avatars.githubusercontent.com/u/290496?v=4?s=100" width="100px;" alt="Hsiaoming Yang"/><br /><sub><b>Hsiaoming Yang</b></sub></a><br /><a href="https://github.com/Tobi-De/falco/issues?q=author%3Alepture" title="Bug reports">🐛</a></td>
125-
</tr>
126-
<tr>
127-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aimedey19"><img src="https://avatars.githubusercontent.com/u/89580257?v=4?s=100" width="100px;" alt="Aimé An-Nyong DEGBEY"/><br /><sub><b>Aimé An-Nyong DEGBEY</b></sub></a><br /><a href="#ideas-aimedey19" title="Ideas, Planning, & Feedback">🤔</a></td>
128-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/earthcomfy"><img src="https://avatars.githubusercontent.com/u/66206865?v=4?s=100" width="100px;" alt="Hana Belay"/><br /><sub><b>Hana Belay</b></sub></a><br /><a href="https://github.com/Tobi-De/falco/commits?author=earthcomfy" title="Code">💻</a></td>
129-
</tr>
130-
</tbody>
131-
</table>
132-
133-
<!-- markdownlint-restore -->
134-
<!-- prettier-ignore-end -->
135-
136-
<!-- ALL-CONTRIBUTORS-LIST:END -->
137-
<!-- prettier-ignore-start -->
138-
<!-- markdownlint-disable -->
29+
- [tailwind](https://github.com/falcopackages/falco-cli_tailwind) (default)
30+
- [bootstrap](https://github.com/falcopackages/falco-cli_bootstrap)
13931

140-
<!-- markdownlint-restore -->
141-
<!-- prettier-ignore-end -->
14232

143-
<!-- ALL-CONTRIBUTORS-LIST:END -->
144-
<!-- contributors:end -->

all-contributorsrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)