The fab cdnmanager deploy command is deleting all the files in the .env directory, which is located at the root of the project. The directory is being deleted because the rsync step in the deploy uses a "--delete" option, in order to be able to delete files that were removed from the project.
The consequence is that the deploy is taking a lot of time as it needs to download again all the required packates, which takes more than 5 minutes.
A second consequence is that any change done to the localsettings will also be lost.
ALTERNATIVES:
1) stop deleting the files (remove the --delete option of the rsync).
2) move the .env dir to another place before the rsync, and move it back later to the same location (after the rsync).
Alexey implemented the update command, which only updates the source code and does not affect the virtualenv dir. It's being tested and we'll see if it solves this issue definitely.
The
fab cdnmanager deploy
command is deleting all the files in the.env
directory, which is located at the root of the project. The directory is being deleted because the rsync step in the deploy uses a "--delete" option, in order to be able to delete files that were removed from the project.The consequence is that the deploy is taking a lot of time as it needs to download again all the required packates, which takes more than 5 minutes.
A second consequence is that any change done to the localsettings will also be lost.
ALTERNATIVES:
1) stop deleting the files (remove the --delete option of the rsync). 2) move the .env dir to another place before the rsync, and move it back later to the same location (after the rsync).