A CLI for generating Django projects using Cookiecutter or VUE projects using Vue CLI
Project description
rse-templates/README.md
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 (djangoorvue)--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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rse_template_creator_test-0.1.17.tar.gz.
File metadata
- Download URL: rse_template_creator_test-0.1.17.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4509585a9ec2a74bc6b00549dbd0ccba30efedb0c90ba466bae5cc521633a2a2
|
|
| MD5 |
331579f82670e07e24373a5a991744dc
|
|
| BLAKE2b-256 |
96896999e6bb007a562beba4808a6c69479e700f101e5d014c4a174e4bb5499b
|
File details
Details for the file rse_template_creator_test-0.1.17-py3-none-any.whl.
File metadata
- Download URL: rse_template_creator_test-0.1.17-py3-none-any.whl
- Upload date:
- Size: 51.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
816fda9da69da9f980c5019c12ccd1907ff20cfa803d82c3c4bb6c237fbe97d7
|
|
| MD5 |
56d4444d267ca20d0a418cb1912f8c98
|
|
| BLAKE2b-256 |
bc7f356f7964bdaaf3d0f6b9f311b0551792092eb3c87323e905f5e3dd55b456
|