Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update recommended development OS to Ubuntu 22.04 LTS #87

Merged
merged 1 commit into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Készíthetsz Issue-t is, ahol bedobhatod az ötleteidet, vagy megvitathatsz bá

A továbbiakban elsősorban a forráskódok továbbfejlesztéshez szükséges eszközök leírása található.

A fejlesztéshez ajánlott operációs rendszer: **Ubuntu Linux 20.04**
A fejlesztéshez ajánlott operációs rendszer: **Ubuntu Linux 22.04**
Az alábbi parancsok is ezen a rendszeren működnek módosítás nélkül.

> **A fejlesztési feladatok egy része csak Linux rendszeren végezhető el.**
> Más rendszeren történő fejlesztés teljeskörű beüzemelése rendkívül fáradságos,
> ilyen esetben ajánlott inkább egy Virtuális gépet használni Ubuntu 20.04-el, majd vagrant használata helyett
> ilyen esetben ajánlott inkább egy Virtuális gépet használni Ubuntu 22.04-el, majd vagrant használata helyett
> közvetlenül telepíteni az eszközöket a [development/provision.sh](development/provision.sh)
> és [Makefile](Makefile) segítségével.

Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
- mysql-db

postgresql-db:
image: postgis/postgis:12-3.4
image: postgis/postgis:14-3.4
ports:
- 5432:5432
environment:
Expand Down
6 changes: 3 additions & 3 deletions development/provision.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Install all tools required for development on Ubuntu 20.04 (run as root user)
# Install all tools required for development on Ubuntu 22.04 (run as root user)

SOURCE_CODE_DIR="/srv/osmhu-website"

Expand All @@ -26,7 +26,7 @@ fi


echo "Installing PostgreSQL..."
if ! apt-get install -qq postgresql-12 postgis postgresql-12-postgis-scripts > /dev/null; then
if ! apt-get install -qq postgresql-14 postgis postgresql-14-postgis-scripts > /dev/null; then
echo "ERROR! Failed to install PostgreSQL. Exiting" >&2
exit 1
fi
Expand All @@ -40,7 +40,7 @@ fi


echo "Installing apache2 and PHP..."
if ! apt-get install -qq apache2 php7.4 libapache2-mod-php php7.4-mysql php7.4-pgsql > /dev/null; then
if ! apt-get install -qq apache2 php8.1 libapache2-mod-php php8.1-mysql php8.1-pgsql > /dev/null; then
echo "ERROR! Failed to install apache2 and PHP. Exiting" >&2
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion docker/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-apache
FROM php:8.1-apache

# Update the package lists and install the Postgresql dependencies
RUN apt-get update && apt-get install -y \
Expand Down
Loading