Skip to main content

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

  1. Open your terminal and navigate to the desired directory where you want to create your Django project.

  2. Run the following command to start the Cedric setup:

cedric-setup
  1. Answer the prompted questions to configure your Django application based on your preferences.

  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cedric-1.0.32.tar.gz (22.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page