Last active
May 6, 2021 16:33
-
-
Save linuxkathirvel/f9441569d079321835e12afec271e83f to your computer and use it in GitHub Desktop.
Revisions
-
linuxkathirvel revised this gist
May 6, 2021 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,11 @@ # Django + PostgreSQL + Debian Setup ## Install needed packages ```code bash sudo apt update -y sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl virtualenv redis-server sudo vim vim-nox htop tmux git -y ``` ## Restore PostgreSQL DB ```code bash sudo -iu postgres psql -U django_user django_project_db < django_db_backup.psql ``` -
linuxkathirvel revised this gist
May 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Django + PostgreSQL + Debian Setup ```code bash sudo apt update -y sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl virtualenv redis-server sudo vim vim-nox htop tmux git -y ``` -
linuxkathirvel revised this gist
May 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Django + PostgreSQL + Debian Setup ```code bash sudo apt update -y sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl virtualenv redis-server sudo vim vim-nox htop tmux -y ``` -
linuxkathirvel revised this gist
May 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Django + PostgreSQL + Debian Setup ```code bash sudo apt update -y sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl virtualenv redis-server sudo vim vim-nox htop -y ``` -
linuxkathirvel created this gist
May 5, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # Django + PostgreSQL + Debian Setup ```code bash sudo apt update -y sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl -y ```