Sign in

What is Portainer ?

How to install ?

Use Following commands in shell to deploy Portainer for Linux,Mac and Windows 10 (with wsl 2 or Linux containers mode)

After logging into local endpoint…

For standalone WINDOWS Docker Host

Sources:


You can export the list of all the packages installed using -

pip freeze > requirements.txt

Then push the requirements.txt file to anywhere you want to deploy the code, and then just do what you did on dev machine -

$ virtualenv <env_name>
$ source <env_name>/bin/activate
(<env_name>)$ pip install -r path/to/requirements.txt

And there you have all your packages installed with the exact version.

You can also look into Fabric to automate this task, with a function like this -

def pip_install():
with cd(env.path):
with prefix('source venv/bin/activate'):
run('pip install -r requirements.txt')

Sources :

https://stackoverflow.com/users/257944/bibhas-debnath

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store