Comments (3)
I've started developing a little script for my own environment that performs something akin to a factory reset. I plan on keeping the following snippet up-to-date as I develop it further:
#!/bin/bash
echo "Performing factory reset!"
set -e
set -u
# Remove the .local environment (w/ backup):
if [[ -d "~/.local" ]]; then
mv "~/.local" "~/.local~backup_$(date --iso-8601)"
fi
# remove all temporary notebook files
rm -vf ~/apps/**/.*.ipynb
# I think we want to reset the Jupyter environment
rm -rfv .jupyter
echo "Done."
To be clear, this is by no means a comprehensive factory reset as of yet.
Furthermore, the actual implementation may be build around these commands, but should be released with proper CLI, documentation, and ideally as part of the home app or as a stand-alone app.
from aiidalab-docker-stack.
@csadorf should we close it? The feature has been added in #184.
from aiidalab-docker-stack.
@yakutovicha The feature added in #184 would not actually allow the function described here, so I'd recommend we close it with the merge of #186 .
from aiidalab-docker-stack.
Related Issues (20)
- GitHub releases note not updated with bumpver
- Managing conda/pip hybrid python environment HOT 4
- bashrc disappear in the k8s deployment HOT 5
- New conda environments are created in `/opt/conda` by default
- Pin PostgreSQL version HOT 4
- singlesshagent section in .bashrc is duplicated upon each container startup
- bash completion does not work for git, conda and other commands
- Add support to arm64 architecture with CI test HOT 1
- Publish new version of the old docker stack with updated aiidalab and aiidalab-home HOT 3
- docker container stuck at loading the start page HOT 1
- The demo images with QE installed HOT 1
- Configure Jupyter server to kill idle python kernels HOT 7
- Can not start the container if the aiida daemon is not properly stopped HOT 5
- Re-introduce openbabel back to docker stack? HOT 8
- Missing joblib dependency HOT 1
- Update traitlets for faster app loading
- QE image install and set aiida-pseudo in advance HOT 1
- Move QE container to aiidalab-qe repo? HOT 3
- Set caching as default for the profile config HOT 2
- Add `rsync` in to the image HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiidalab-docker-stack.