Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Digitalocean Consulta CNPJ
1 sudo apt update
2 sudo apt install apt-transport-https ca-certificates curl software-properties-common
3 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
5 sudo apt update
6 apt-cache policy docker-ce
7 sudo apt install docker-ce
8 sudo systemctl status docker
9 sudo apt-get install git -y
10 git clone git@github.com:codevance/consulta_cnpj.git git
11 git clone https://github.com/codevance/consulta_cnpj.git git
12 cd git/
13 git checkout dockerize
14 apt-get install python3-venv
15 cd ..
16 virtualenv env
17 apt install virtualenv
18 ll
19 virtualenv env
20 ll
21 apt-remove virtualenv
22 sudo apt-get remove virtualenv
23 apt-get install python3-venv
24 sudo apt update; sudo apt -y dist-upgrade; sudo apt -y autoremove
25 sudo apt install python3-pip
26 pip3 install virtualenv
27 virtualenv env
28 . ~/env/bin/activate
29 . ~/env/bin/activate && cd ~/git
30 log
31 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.