Skip to content

Commit 9fbb108

Browse files
committedSep 24, 2020
Add a small script to install Postgresql 13 on Ubuntu
1 parent c0f9c21 commit 9fbb108

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All enhancements and patches to Cookiecutter Django will be documented in this file.
33

4+
5+
## [2020-09-24]
6+
### Changed
7+
- Added a small script to install Postgresql 13 on Ubuntu - [@luzfcb](https://github.com/luzfcb)
8+
49
## [2020-09-22]
510
### Changed
611
- Updated django-debug-toolbar to 3.1 - [@luzfcb](https://github.com/luzfcb)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env sh
2+
3+
#
4+
# Based on https://www.postgresql.org/download/linux/ubuntu/
5+
#
6+
7+
sudo echo "" && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - \
8+
&& sudo sh -c 'echo "deb [arch=amd64] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
9+
&& sudo apt-get update \
10+
&& sudo apt-get install --yes postgresql-13 libpq-dev

0 commit comments

Comments
 (0)
Please sign in to comment.