A tool that automates the creation of project foundations for multi-tech stacks like Django, React, and MongoDB, generating Dockerfiles, Docker Compose configurations, and more.
Project description
STACK-BUILDER
Table of Contents
Getting Started
If you are new to Stack-Builder, this section will guide you through the essential resources to get started.
What is it?
Stack-Builder is an open-source Python package designed to simplify the creation of project foundations (socles). With Stack-Builder, you can easily generate Dockerfiles, Docker Compose configurations, set up database settings, and much more—all with a single command.
Requirements
- Python: Since Stack-Builder is a Python package, you need to install Python. The recommended version is 3.11 or newer.
- Docker CLI: Docker is essential for managing various technologies and their versions efficiently. It resolves compatibility issues that arise when using multiple technologies.
Setup
Step 1: Install Python (Version 3.11 or newer)
- Visit the official Python website to download and install Python for your system.
Step 2: Install Docker
- Go to the official Docker website and select the appropriate version for your system.
Step 3: Create a Virtual Environment with Python and Activate It
For Unix/macOS:
python3 -m venv .env_stack_builder
source .env_stack_builder/bin/activate
For Windows:
py -m venv .env_stack_builder
.env_stack_builder\Scripts\activate
Step 4: Start Docker
Ensure Docker is running before proceeding.
Installation
Install the Stack-Builder package using pip:
For Unix/macOS:
python -m pip install stack-builder
For Windows:
py -m pip install stack-builder
Create Your First Socle
Here is an example of creating a project foundation with Django and PostgreSQL as the database. Note that the initial creation of the Django project requires an active internet connection.
Run the following command (works for both Bash and PowerShell) config.yaml:
stack-builder --config config.yaml
This command will:
- Create a Django application.
- Configure PostgreSQL as the database.
- Set up Dockerfiles and Docker Compose configurations for your project.
why use stack-builder?
-
Easy to use like speak.
-
gain tima for fast template.
-
open source to keep users consient of project mechanism.
LICENSE
Enjoy building your project with Stack-Builder! 🚀
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 stack_builder-0.1.1.tar.gz.
File metadata
- Download URL: stack_builder-0.1.1.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46f59fd2ccfd6a4930c9aceed5bb746556e2d9e4b16c2524b553de65878e2452
|
|
| MD5 |
9332acd14072cac1aec431ca35107d2e
|
|
| BLAKE2b-256 |
a2dd4899111852425b83fd0437f346b097aafa93d8cab83a87181410017d80d9
|
File details
Details for the file stack_builder-0.1.1-py3-none-any.whl.
File metadata
- Download URL: stack_builder-0.1.1-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b3ff0f36a2264c2eb1cb4b32eb860d6e65ccb5a104a38ab67a3d70b9f47a206
|
|
| MD5 |
f02b7ef6ed044ebb97af840bfb3f5186
|
|
| BLAKE2b-256 |
6ee04204e042deb5a9669d6146a4414a88f57ed274034664577d0873d896365d
|