-
Notifications
You must be signed in to change notification settings - Fork 34
restore broken installation
this is a description of something that happened today, and that I'm sure will happen again:
the computer just went down while it was doing a git pull
. right: I was updating bauble and the power went off. result: a corrupt repository.
switch the computer back on, try again, git says this was not a valid repository.
in case it happens again, what is that you need do?
maybe not all of the following are necessary, but this looks to me as the most simple approach:
remove everything as if you wanted to uninstall bauble, repeat the installation.
- remove the cloned repository,
- remove the virtual environment,
- download the installation script for your platform,
- run the installation script.
starting from your $HOME
directory (on Windows: %HOMEDRIVE%%HOMEPATH%
),
the cloned repository is in
Local/github/Bauble/bauble.classic
.
remove the whole directory.the virtual environment is in
.virtualenvs/bacl
.
remove the whole directory, too.
- the windows installation script:
https://raw.githubusercontent.com/Bauble/bauble.classic/master/scripts/devinstall.bat
- the unix (Linux/MacOSX) installation script:
https://raw.githubusercontent.com/Bauble/bauble.classic/master/scripts/devinstall.sh
you better run it after downloading from the repository than save and run a previously saved possibly oldish version.