Skip to main content

DevCore โ€” WordPress & Laravel project automation CLI

Project description

๐Ÿง  DevCore CLI

DevCore adalah sistem otomatisasi untuk setup, konfigurasi, dan deployment stack WordPress modern melalui Command Line Interface (CLI).
Didesain untuk developer yang ingin mempercepat workflow WordPress Development, mulai dari inisialisasi proyek, konfigurasi environment, hingga sinkronisasi GitHub โ€” semua hanya lewat terminal.


๐Ÿš€ Fitur Utama

  • โš™๏ธ WordPress Auto Installer & Setup
    Buat project WordPress siap-pakai hanya dengan satu perintah.

  • ๐Ÿงฉ Template Builder
    Dukung stack: WordPress + WooCommerce + Elementor.

  • ๐Ÿ’พ Database Handler (SQLite)
    Menyimpan metadata project dan konfigurasi CLI dengan aman.

  • ๐Ÿ” Konfigurasi Environment Otomatis
    Termasuk rebuild & reset config.

  • ๐Ÿ”„ Auto Sync ke GitHub
    Login GitHub langsung dari CLI.

  • ๐Ÿงฑ Modular CLI Structure
    Setiap perintah terpisah secara modular di direktori core/.


โšก Perintah Dasar DevCore

1๏ธโƒฃ Login GitHub terlebih dahulu

devcore login github

Setup project

devcore wp setup --generate

2๏ธโƒฃ Membuat template awal

devcore new project --type wordpress --client "New-Commerce-Project" --stack "wordpress+woo"

3๏ธโƒฃ Build WordPress Project

devcore wp init New-Commerce-Project

4๏ธโƒฃ Reset atau Rebuild Konfigurasi

devcore config rebuild
devcore config reset

5๏ธโƒฃ Menghapus Database Project

del devcore_projects.db

Setup WordPress Plugins & Themes

Installs plugins and themes automatically using WP-CLI based on configuration files.

devcore wp init New-Commerce-Project --include-setup

๐Ÿ“ Struktur Direktori DevCore

dev-core-system/
โ”‚
โ”œโ”€โ”€ core/
โ”‚   โ”œโ”€โ”€ command_config.py
โ”‚   โ”œโ”€โ”€ command_new_setup.py
โ”‚   โ”œโ”€โ”€ db.py
โ”‚   โ”œโ”€โ”€ env_manager.py
โ”‚   โ””โ”€โ”€ wp_init.py
โ”‚   โ””โ”€โ”€ wp_dropdb.py
โ”‚   โ””โ”€โ”€ github_integration.py
โ”‚   โ””โ”€โ”€ template_engine.py
โ”‚
โ”œโ”€โ”€ templates/
โ”‚   โ””โ”€โ”€ .env.example (autogenerate)
โ”‚   โ””โ”€โ”€ docker-compose.yml (autogenerate)
โ”‚   โ””โ”€โ”€ README.md (autogenerate)
โ”‚
โ”œโ”€โ”€ .devcore.json
โ”œโ”€โ”€ devcore_projects.db
โ”œโ”€โ”€ devcore.py
โ”œโ”€โ”€ devcore.cmd
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ DOCUMENTATION.md

Lists of commands

Command Fungsi Status
devcore login github Login ke GitHub (via core/github_integration.py) โœ…
devcore wp setup --generate Generate devcore_project.json โœ…
devcore new project --type wordpress --client "New-Commerce-Project" Buat scaffolding baru โœ…
devcore wp init New-Commerce-Project Buat WP project baru โœ…
devcore wp init New-Commerce-Project --include-setup Build project + setup plugin & theme โœ…
devcore config rebuild / config reset Reset config environment โœ…
devcore wp dropdb <nama_project> Hapus database dan folder โœ…

๐Ÿงญ Roadmap Singkat

Fase Deskripsi Status
Phase 1 Core CLI & Config Handler โœ… Selesai
Phase 2 WordPress Stack Builder ๐Ÿšง In Progress
Phase 3 Integration Layer (GitHub, VPS Deploy) โณ Planned
Phase 4 Automation & Backup โณ Planned
Phase 5 DevCore Cloud Dashboard ๐Ÿงฉ Research
devcore-system-roadmap

๐Ÿ“œ Lisensi

MIT License ยฉ 2025 โ€” [DevCore Project Team > Puji Ermantopujiermanto@gmail.com]

Notes Error fixed

rm -rf build dist *.egg-info
pip uninstall devcore-cli -y

Rebuild & publish

python -m build
pip install --upgrade build
twine upload dist/*

# 1๏ธโƒฃ Bersihkan dulu build lama
rm -rf build dist *.egg-info

# 2๏ธโƒฃ Build ulang package
python setup.py sdist bdist_wheel

# 3๏ธโƒฃ Install ulang ke environment aktif
pip install --upgrade --force-reinstall dist/devcore_cli-1.0.3-py3-none-any.whl

# 1. Bersihkan build lama
rm -rf build dist *.egg-info

# 2. Build ulang
python -m build

# 3. Upload ke PyPI
twine upload dist/*

# 4. Instal versi terbaru
pip install --no-cache-dir -U devcore-cli

Testing

pip install --no-cache-dir -U devcore-cli
devcore --help

๐Ÿ’ฌ Kontribusi

Pull Request, Issue, dan Feedback selalu terbuka. Silakan buat branch baru sebelum commit ke main.

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

devcore_cli-1.0.7.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

devcore_cli-1.0.7-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file devcore_cli-1.0.7.tar.gz.

File metadata

  • Download URL: devcore_cli-1.0.7.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for devcore_cli-1.0.7.tar.gz
Algorithm Hash digest
SHA256 14d208717edf18800e789201feafe2f94484fd7c2d77bfb7ba584c6d78ad9a61
MD5 41af3b1429b693e58dcde9c857531927
BLAKE2b-256 2c6f88acb31b79535e39b86498f75c5f6d7e714317763c05428abf7801ed6aaa

See more details on using hashes here.

File details

Details for the file devcore_cli-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: devcore_cli-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for devcore_cli-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 035ce0c8eccc8662f5f5400fb69b98047762df55dc4729e2317eae8f20cd9dc6
MD5 e9bbf0a1eccb07cc2345c1c83936f56d
BLAKE2b-256 7f467b0c933a4a210fa6a91df5ee4c80ca5a46e56e9f4d304d36142ddddd9ffa

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