Cedric is a Python library designed to streamline the process of setting up a Django application.
Project description
Cedric - Django App Configuration Made Easy
Overview
Cedric is a Python library designed to streamline the process of setting up a Django application. This library aims to save development time and simplify the configuration of a full-fledged Django project. By taking a few inputs from the user, Cedric automates the creation and configuration of a Django application, allowing developers to focus on building great features rather than spending time on the initial setup.
Features
-
Interactive CLI: Cedric provides an interactive command-line interface (CLI) that guides users through the configuration process with a series of well-defined questions.
-
Default Choices: Cedric comes with sensible default choices for various configuration options, making the setup process quick and straightforward. Users can customize their choices based on project requirements.
-
Docker Integration: Cedric supports the use of Docker, allowing developers to choose whether to include Docker in their project setup. The default choice is set to use Docker for enhanced development and deployment consistency.
-
Cloud Provider Options: Users can select their preferred cloud provider from a list of popular choices, including AWS, GCP, Azure, Linode, or none if the application is not hosted on a specific cloud provider.
-
CSS Framework Selection: Cedric includes options for selecting a CSS framework. TailwindCSS is set as the default choice, but users can opt for Bootstrap or choose not to include any CSS framework in their project.
-
Database Configuration: Developers can choose their preferred database from a list that includes Postgres, MySQL, and Sqlite3. Sqlite3 is set as the default choice for simplicity, but users can easily select an alternative option.
Getting Started
Installation
To use Cedric, install the library using the following command:
pip install cedric
Usage
-
Open your terminal and navigate to the desired directory where you want to create your Django project.
-
Run the following command to start the Cedric setup:
cedric-setup
-
Answer the prompted questions to configure your Django application based on your preferences.
-
Once the setup is complete, Cedric will create and configure your Django project according to the provided choices.
Example
Here's an example of how Cedric can be used:
cedric-setup
Follow the interactive prompts to provide information about your application, such as the application name, whether to use Docker, your preferred cloud provider, CSS framework, and database.
Contributing
Contributions are welcome! If you encounter issues or have suggestions for improvements, please open an issue or submit a pull request on the Cedric GitHub repository.
License
This project is licensed under the GNU License - see the LICENSE file for details.
Happy coding with Cedric!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cedric-1.0.32.tar.gz
.
File metadata
- Download URL: cedric-1.0.32.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f775b03bbd6644bfb99859ba68c39d18db55a58d5cbb6c8c16068657e59f3e4 |
|
MD5 | eb979b85846611c999f0f228faf15ec9 |
|
BLAKE2b-256 | 75c14cc1d17ecb6a9a56796da11f2d53033ce4e1106608ec3f179911638930e9 |