How do I upgrade web2py from the command-line - upgrade

For some reason I can't get access to my web2py admin page via https. So what is the equivalent command-line call for clicking the "upgrade to latest web2py version" button on the admin page?

If you have installed web2py using pip, then you can upgrade it by running
pip install --upgrade web2py
you might need to add sudo at the beginning of the command depending on your system configuration.

Related

i can't able to run composer install command under my /var/www/html/magento2

i am facing problem while setting up the magento server on Centos7 i have php 7.3 install in my centos ec2 instance
installed php 7.3.5, also tried to update composer using $composer update command it doesn't work
composer install
Magento 2 does not support php 7.3 as of yet. A significant numer of core modules specify the php versions they will allow. You will need to change your php version. See this link for the supported versions. https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

Python 3.7.2 Windows x86 executable installer does not allow single user installation

I am trying to install latest Python (3.7.3) on a couple of Windows 10 PCs without admin privileges. For this purpose I downloaded the corresponding executable installer from download link.
When executing the installer, some of the Windows PCs show the Install launcher for all users (recommended) option force checked. I can't proceed with the installation since I'm asked for admin privileges even though Python is to be installed on a user directory with reading and writing permissions.
Why is the Install launcher for all users (recommended) option force checked? Could it have something to do with existing launcher installations? Is there any way around?
Not sure why, but once I uninstalled existing Python Launcher I was able to uncheck the Install launcher for all users option and install Python without admin privileges.

Unable to use angular cli in eclipse

It says I have used the pro version so I need the licence or free trial.How can I get the free version of angular cli on eclipse.I have tried to reinstall it but did not work.
As far as I know, Eclipse does not support Angular CLI. Try taking a look at IntelliJ's trial version. (https://www.jetbrains.com/idea/)
You don't need an IDE to use Angular CLI. All you need is a Terminal.
Run the following steps:
You need Nodejs. If you don't have it yet, just go this official
nodejs page & download the recommended version then install it.
$ npm install -g #angular/cli
Angular Eclipse is open source and integrates angular-cli with Terminal, Wizards and Launches.

Enabling component manager in gcloud CLI

I made a fresh install of gcloud for ubuntu as instructed here. I want to use the additional components offered by gcloud like kubectl and docker.
So, when I tried typing gcloud components install kubectl, I get an error saying that The component manager is disabled for this installation. Here is the full error message:
This is because you installed google-cloud-sdk with a package manager like apt-get or yum.
kubectl:
If you look here you can see how to install additional components. Basically sudo apt-get install kubectl.
If by docker you mean the docker-credential-gcr then I don't know if there's a way to install using a package manager, can't seem to find it. Perhaps ou can try the github repo. Mind you, you don't need this for commands like gcloud docker -- push gcr.io/your-project/your-image:version.
If you mean actual docker for building images and running them locally, that's standalone software which you need to install separately, instructions here.
Alternatively, you can uninstall google-cloud-sdk with apt-get and then reinstall with interactive installer, which will support the suggested gcloud components install *

Installing Postgres Client alone without server

Here is my requirement.
Server 1(DB)
Server 2(ETL)-Need to install pg_client alone, where I can fetch and load data in Server 1 using pg_bulkload.
Is there is any way to do it? Kindly provide instructions, to install the client and where I can get the software package.
Thanks
When building from Source you can do after configure and make:
Client-only installation: If you want to install only the client
applications and interface libraries, then you can use these commands:
make -C src/bin install
make -C src/include install
make -C src/interfaces install
make -C doc install
src/bin has a few binaries for server-only use, but they are small.
Link to PostgreSQL Documentation