A possible approach - v22-appfactory/appfactory-wiki GitHub Wiki
If it is necessary to use a different environment to deploy Appfactory, it may be easier to create a new project that is configured to that environment and that can run with the core functionality versus trying to take the current project and make it run in a new environment.
This new project could be a lightweight, proof of concept to start out and then over time, all the functionality of the current Appfactory project could be brought in, piece by piece.
More details are needed about the new environment and this approach would probably happen after a decision is made to change deployment environments.