How to clone sites from GitHub

hello community
I wish you all well, I’m working on a kind of system for an org, I have structured the system based on the departments, one site one app, and a module for each dep

  • the site
    • custom App
      • core-module
      • department-1
      • department-2 …5

I already finished the core module and the first department and need to deliver it to the client the rest of the modules will be scheduled after testing and running the first submit
I’m looking for how this can be done cleanly and best. so all the work then will be done remotely. I push it to GitHub and migrate the site to the client.

I was searching for how to clone and run sites from GitHub but all I found is taking about apps only, I’m working on a local env - and the client will be self-hosted too in a local env

I’m using Frappe 15 dev
any help will be appreciated

Hi there,

I’m a bit confused about what you’re describing here. I’m not sure what “one site one app” means, specifically.

Apps are code, and they are typically distributed via GitHub. Sites are data, and they are typically distributed via sql backups.

hello @peterg
thank you for your replay, I meant by one site and one app in my bench I have only one site and one app installed I just want to move the site to another bench at the client

The commands bench backup and bench restore will manage all data, including database, site_config, and files.

https://frappeframework.com/docs/user/en/bench/reference/backup
https://frappeframework.com/docs/user/en/bench/reference/restore

1 Like