Welcome to the Belomtau project! This repository contains a collection of scripts and configurations for setting up and managing various development environments using Podman containers. This is a personal project and not intended for commercial use. The configurations and scripts reflect my personal preferences and setup. Keywords: Podman, Django, FastAPI, Vue.js, PostgreSQL, Redis, Nginx, Cloudflare Tunnel, development environment, automation.
Belomtau is a set of scripts designed to automate the setup and management of development environments using Podman containers. The scripts cover a range of use cases, including setting up Django and FastAPI applications, as well as Vue.js front-end projects. The configurations are tailored to my personal preferences and are not intended for commercial or public use.
The app.sh
script is designed to set up a Django-based API project. It includes configurations for PostgreSQL, Redis, Nginx, and Cloudflare Tunnel. The script automates the creation of a Django project, setting up the necessary directories, and configuring the environment.
- Initializes a Django project with essential dependencies.
- Sets up PostgreSQL and Redis containers.
- Configures Nginx as a reverse proxy.
- Integrates Cloudflare Tunnel for secure access.
The vue.sh
script is designed to set up a Vue.js front-end project using Vite. It includes configurations for Node.js and Nginx containers. The script automates the creation of a Vue.js project, setting up the necessary directories, and configuring the environment.
- Initializes a Vue.js project with essential dependencies.
- Sets up a Node.js container for development.
- Configures Nginx as a reverse proxy.
The faster
script is a comprehensive setup for a full-stack application combining FastAPI and Django for authentication. It includes configurations for PostgreSQL, Redis, Uvicorn, Django, Nginx, and Cloudflare Tunnel. The script automates the creation of the project structure, setting up the necessary directories, and configuring the environment.
- Initializes a FastAPI project with essential dependencies.
- Sets up PostgreSQL and Redis containers.
- Configures Uvicorn for running FastAPI.
- Integrates Django for authentication.
- Configures Nginx as a reverse proxy.
- Integrates Cloudflare Tunnel for secure access.
To use the scripts, follow these steps:
-
Clone the Repository:
git clone https://github.com/yourusername/belomtau.git cd belomtau
-
Run the Initialization Script: For Django-based API project:
./app.sh init <app_name>
For Vue.js front-end project:
./vue.sh init <app_name>
For full-stack FastAPI and Django project:
./faster <app_name> init
-
Start the Services:
./app.sh start <app_name> ./vue.sh start <app_name> ./faster <app_name> start
-
Check the Status:
./app.sh cek <app_name> ./vue.sh cek <app_name> ./faster <app_name> cek
-
Stop the Services:
./app.sh stop <app_name> ./vue.sh stop <app_name> ./faster <app_name> stop
This project is licensed under the MIT License. See the LICENSE file for more details.
Note: This repository is a personal project and reflects my preferences and setup. It is not intended for commercial use or public distribution. Use at your own risk.
This README is generated by GitHub Copilot GPT-4o model.
Selamat datang di proyek Belomtau! Repositori ini berisi kumpulan skrip dan konfigurasi untuk mengatur dan mengelola berbagai lingkungan pengembangan menggunakan kontainer Podman. Ini adalah proyek pribadi dan tidak dimaksudkan untuk penggunaan komersial. Konfigurasi dan skrip mencerminkan preferensi dan pengaturan pribadi saya. Kata kunci: Podman, Django, FastAPI, Vue.js, PostgreSQL, Redis, Nginx, Cloudflare Tunnel, lingkungan pengembangan, otomatisasi.
Belomtau adalah sekumpulan skrip yang dirancang untuk mengotomatisasi pengaturan dan pengelolaan lingkungan pengembangan menggunakan kontainer Podman. Skrip ini mencakup berbagai kasus penggunaan, termasuk pengaturan aplikasi Django dan FastAPI, serta proyek front-end Vue.js. Konfigurasi ini disesuaikan dengan preferensi pribadi saya dan tidak dimaksudkan untuk penggunaan komersial atau publik.
Skrip app.sh
dirancang untuk mengatur proyek API berbasis Django. Ini mencakup konfigurasi untuk PostgreSQL, Redis, Nginx, dan Cloudflare Tunnel. Skrip ini mengotomatisasi pembuatan proyek Django, mengatur direktori yang diperlukan, dan mengonfigurasi lingkungan.
- Menginisialisasi proyek Django dengan dependensi penting.
- Mengatur kontainer PostgreSQL dan Redis.
- Mengonfigurasi Nginx sebagai reverse proxy.
- Mengintegrasikan Cloudflare Tunnel untuk akses aman.
Skrip vue.sh
dirancang untuk mengatur proyek front-end Vue.js menggunakan Vite. Ini mencakup konfigurasi untuk kontainer Node.js dan Nginx. Skrip ini mengotomatisasi pembuatan proyek Vue.js, mengatur direktori yang diperlukan, dan mengonfigurasi lingkungan.
- Menginisialisasi proyek Vue.js dengan dependensi penting.
- Mengatur kontainer Node.js untuk pengembangan.
- Mengonfigurasi Nginx sebagai reverse proxy.
Skrip faster
adalah pengaturan komprehensif untuk aplikasi full-stack yang menggabungkan FastAPI dan Django untuk otentikasi. Ini mencakup konfigurasi untuk PostgreSQL, Redis, Uvicorn, Django, Nginx, dan Cloudflare Tunnel. Skrip ini mengotomatisasi pembuatan struktur proyek, mengatur direktori yang diperlukan, dan mengonfigurasi lingkungan.
- Menginisialisasi proyek FastAPI dengan dependensi penting.
- Mengatur kontainer PostgreSQL dan Redis.
- Mengonfigurasi Uvicorn untuk menjalankan FastAPI.
- Mengintegrasikan Django untuk otentikasi.
- Mengonfigurasi Nginx sebagai reverse proxy.
- Mengintegrasikan Cloudflare Tunnel untuk akses aman.
Untuk menggunakan skrip ini, ikuti langkah-langkah berikut:
-
Clone Repositori:
git clone https://github.com/yourusername/belomtau.git cd belomtau
-
Jalankan Skrip Inisialisasi: Untuk proyek API berbasis Django:
./app.sh init <app_name>
Untuk proyek front-end Vue.js:
./vue.sh init <app_name>
Untuk proyek full-stack FastAPI dan Django:
./faster <app_name> init
-
Mulai Layanan:
./app.sh start <app_name> ./vue.sh start <app_name> ./faster <app_name> start
-
Cek Status:
./app.sh cek <app_name> ./vue.sh cek <app_name> ./faster <app_name> cek
-
Hentikan Layanan:
./app.sh stop <app_name> ./vue.sh stop <app_name> ./faster <app_name> stop
Proyek ini dilisensikan di bawah Lisensi MIT. Lihat file LICENSE untuk detail lebih lanjut.
Catatan: Repositori ini adalah proyek pribadi dan mencerminkan preferensi dan pengaturan saya. Ini tidak dimaksudkan untuk penggunaan komersial atau distribusi publik. Gunakan dengan risiko Anda sendiri.
README ini dihasilkan oleh model GitHub Copilot GPT-4o.