Uninstall Plone/Zope - uninstallation

I am testing different CMSs, and installed Plone 4 in my server. It is not my chosen one, and I now canĀ“t find a way to uninstall it. I would like a full uninstall.
Regards: Miguel

If you used the Unified Installer, you simply delete the directory and you are done. Plone does not install anything outside of that.
If you used another method to install Plone, you'll need to give more details than that, including the OS you installed it on.

Just for the record - if you installed Plone on Windows with the official Plone Installer for Windows (ie, downloaded from plone.org), you should use the "Add/Remove Programs" entry for Plone. Simply deleting the Plone folder won't remove the Start Menu shortcuts or the Windows Service for the Zope Server.

If you've done a ZEO install, you may want to remove the group 'plone_group', and the users 'plone_buildout', and 'plone_daemon'. Just some more advice for cleaning Plone off your system...

Related

Should I move windows project folder into WSL?

I'm trying to set up a work environment on a new machine and I am a bit confused how best to procede.
I've set up a new windows machine and have WSL2 set-up; I plan on using that with VS Code for my development environment.
I have a previous django project that I want to continue working on stored in a folder in a thumb drive.
Do I move the [windows] project folder into the linux folder system and everything is magically ready to go?
Will my previous virtual environment in the existing folder still work or do I need to start a new one?
Is it better to just start a new folder via linux terminal and pull the project from github?
I haven't installed pip, python, or django on the windows OR linux side just yet either.
Any other things to look out for while setting this up would be really appreciated. I'm trying to avoid headaches later by getting it all set-up correctly now!
I would pull it from github, and make sure you have the correct settings for line endings, since they are different between windows and linux. Just let git manage these though:
https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
Some other suggestions:
Use a version manager in linux to manage your python versions - something like pyenv or asdf. It will make life easier.
Make sure to always create a virtual environment for everything and don't pip install anything in your main python. (I use direnv for virtual env management)
The single exception to the previous suggestion is pipx, which I do install in the main python and then use to install things like cli tools, black, isort, pip-tools etc.
Configure VScode to use the pipx installed versions of black, flake8 etc. for linting purposes.
If you're using Docker, enable the WSL integration for your WSL flavour (probably Ubuntu). Note that docker desktop needs starting before your WSL session.

Ho Do I Restart Sitecore Server From Code?

We have a requirement to install Sitecore packages programmatically from a custom admin page. The package installation is working but once the package is installed I wanted to restart the Sitecore server from code.
Sitecore.Install.Installer installer = new Sitecore.Install.Installer();
I tried with installer.ExecutePostStep but not sure what action I need to provide to this function.
If anyone has done it before Please help .
Basically I wanted to execute the functionality from code what the two below check boxes are doing when we do manual installation.
The easiest thing will be to restart the Sitecore's application pool by a Restart-Application PowerShell command.
Find more details here.

Can't find the CORE WAMP download, keeps giving me addons only

I'm going through the official WAMP website too. It direct me to SourceForce which seems right. I then click Download and it start trying to give me wampserver3_x64_addon_mariadb10.3.7.exe. What happened with Wamp and SourceForge and is there any way to download WAMP right now?
You may find that the WAMPServer Backup Repo is a lot easier to navigate.
It is maintained by the same guy that builds the releases that are placed into SourceForge and is completely legitimate. It is often a few days ahead of SourceForge as they take time to do their own checks on the release.
You can find it here
Also remember you must install a Full Release first, then you can apply any of the ADDON versions of Apache / PHP / MySQL / mariaDB that you need to match the development environment you require.

When Installing Sitecore unable to install Zip Packages Sitecore E-Commerce Services 2.2rev

I am new to sitecore development.I have installed Sitecore 8(using SQL Server) and after installing when I try to install zip packages (Sitecore E-Commerce Services 2.2 rev,Sitecore E-Commerce Order Manager 2.2 ,Active Commerce-SC80 3.2 rev).
I see a never ending "Installing package" message. Need Help.
Sometimes install packages do spin for ever depending on the speed of your machine. While large packages are installed, I generally use a program like BareTail to monitor the Sitecore Log file, and highlight on the word "Installing Item" ... generally you see this scroll along. It keeps me pacified knowing it's not "hung".
Other options include:
1) checking the logs for errors.
2) making sure sitecore didn't reset (sometimes when packages include DLL's, this can cause Sitecore to reset the worker process which might interrupt the package install process.

How apps installed at pip really works?

I'm new at django and i was looking for a wysiwyg and i fuond tinymce.
I installed at pip command line and i expect that create a folder at my folder project like a new app. It dont created no one folder but i did the next steps and for my surprise the app works fine at my project.
I want to know how this app really works at my project, in case im gonne deploy this project and how to deploy the app installed at pip or something like that.
My englhish is not good but i hope that was clear.
The applications, or libraries rather are copied directly inside one of the folders inside your python directory called Lib/site-packages. This exact location depends on your operating system you can find usually find your newly installed packages under
For Windows
C:/PythonXX/Lib/site-packages/
For Linux
/usr/local/lib/pythonX.Y/site-packages
When you run a python script, Python will automatically include these folders as available resources, and when you add for example import X to your code, it will check to see if X is listed.
You have more information on the topic available here.