Skip to main content

A CLI for generating Django projects using Cookiecutter or VUE projects using Vue CLI

Project description

rse-templates/README.md

License: MIT

RSE Templates Project

This project provides a command-line interface (CLI) for generating Django projects using Cookiecutter or Vue.js projects using Vue CLI. It simplifies the process of setting up new Backend or Frontend projects with specific configurations.

Features

  • Generate a new Django project with a specified name.
  • Generate a new Vue.js project with a specified name.
  • Specify the path where the project will be created.
  • Option to enable HTTPS configuration.
  • Initialize a Git repository and create an initial commit.

Installation

To install the required dependencies, first create and activate a virtual environment:

python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
pip install rse_template_creator_test

Usage

To use the CLI, navigate to the project directory and run the following command:

rse-templates --project_type <django|vue> --project_name <name> [--project_path <path>] [--https_enabled] [--host <host>]

Options

  • --project_type : Type of project to create (django or vue)
  • --project_name : Name of the project.
  • --project_path : Path where the project will be created (default: current directory).
  • --https_enabled : Configure local development with HTTPS.
  • --host: Host for the project (default: localhost).

Example

To create a new Django project named my_django_project in the current directory:

rse-templates --project_type django --project_name my_django_project

To create a new Vue.js project named my_vue_project in a specified directory with HTTPS enabled:

rse-templates --project_type vue --project_name my_vue_project --project_path /path/to/directory --https_enabled

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

rse_template_creator_test-0.1.17.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rse_template_creator_test-0.1.17-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

Details for the file rse_template_creator_test-0.1.17.tar.gz.

File metadata

File hashes

Hashes for rse_template_creator_test-0.1.17.tar.gz
Algorithm Hash digest
SHA256 4509585a9ec2a74bc6b00549dbd0ccba30efedb0c90ba466bae5cc521633a2a2
MD5 331579f82670e07e24373a5a991744dc
BLAKE2b-256 96896999e6bb007a562beba4808a6c69479e700f101e5d014c4a174e4bb5499b

See more details on using hashes here.

File details

Details for the file rse_template_creator_test-0.1.17-py3-none-any.whl.

File metadata

File hashes

Hashes for rse_template_creator_test-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 816fda9da69da9f980c5019c12ccd1907ff20cfa803d82c3c4bb6c237fbe97d7
MD5 56d4444d267ca20d0a418cb1912f8c98
BLAKE2b-256 bc7f356f7964bdaaf3d0f6b9f311b0551792092eb3c87323e905f5e3dd55b456

See more details on using hashes here.

Supported by

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