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.16.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.16-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for rse_template_creator_test-0.1.16.tar.gz
Algorithm Hash digest
SHA256 2f36d215b5137c9b5c449b8e5c07b8ee2a868f285d2d545967fb5958c47fdc04
MD5 39cb04c7f94149d8b8120df7f666fecf
BLAKE2b-256 994233172c69ad6dbe7670f2b67325faf814a76f01071f1d4b9928420343db81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rse_template_creator_test-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 dda69d1f493fea068606b1beb36cdb5cb52666d95aba296f3fa10b51013337b7
MD5 c55c1c4f3b7109ee46af46c7784fa8bc
BLAKE2b-256 19ffa876a07fab0c4cb6e952ad1e002d3924693ea13fa21a4a4f1171ef8a4d52

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