Skip to main content

main main 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

res

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)

Step 2: Install Docker

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

MIT

Enjoy building your project with Stack-Builder! 🚀

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

stack_builder-0.0.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

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

stack_builder-0.0.0-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file stack_builder-0.0.0.tar.gz.

File metadata

  • Download URL: stack_builder-0.0.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.7 Linux/6.12.9-arch1-1

File hashes

Hashes for stack_builder-0.0.0.tar.gz
Algorithm Hash digest
SHA256 fbeeaadc898c2c07c42a4f5d79c1e3d2f1f72faaec9cf5e03d51ec6eeffd64ba
MD5 038d8a4b6e335b529df1cf9cb046b71c
BLAKE2b-256 921f0aaca18733da82292f5a359594af7a3d78f22b8ab519006ff6dd03f19a20

See more details on using hashes here.

File details

Details for the file stack_builder-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: stack_builder-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.7 Linux/6.12.9-arch1-1

File hashes

Hashes for stack_builder-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c37aae7a350cca218a5c04b782a3590189e2dd7e2091e071c1cf2525c226caa8
MD5 a33609e11c5bc91218650865a461387b
BLAKE2b-256 cb5a3ff5c5e07834755e97172f750938b069d1af6fa83d2b3643895a10549d3d

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