Update README, adding OSes

This commit is contained in:
Sebastien Laithier 2022-08-17 16:45:28 +02:00
parent 4a3e218b18
commit 42ea0a7ec0
3 changed files with 42 additions and 23 deletions

View File

@ -10,23 +10,19 @@ It runs with Django. The information are daily generated by an ansible playbook,
## Install ## Install
Dependencies in case of Debian 8.
```shell
apt-get install python3-venv libmysqlclient-dev mysql-client python3-dev
```
Dependencies in case of Debian 10. Dependencies in case of Debian 10.
``` ```
apt install python3-venv libmariadb-dev-compat libmariadb-dev mariadb-client python3-dev gcc apt install python3-venv libmariadb-dev-compat libmariadb-dev mariadb-client python3-dev gcc
``` ```
Following procedure to install the apps. Following procedure to install the apps.
``` ```
useradd -d /var/www/updates-dashboard-sol/ -g www-data -M -s /bin/false www-updash useradd -d /var/www/updates-dashboard/ -g www-data -M -s /bin/false www-updash
cd /var/www/ cd /var/www/
git clone git@git.smile.fr:smile-outsourcing/updates-dashboard-sol.git updates-dashboard-sol git clone git@gitlab.infolegale.net:infrastructure/updates-dashboard.git updates-dashboard
chown -R www-updash:www-data updates-dashboard-sol chown -R www-updash:www-data updates-dashboard
touch /var/log/gunicorn.log touch /var/log/gunicorn.log
chown www-updash:www-data /var/log/gunicorn.log chown www-updash:www-data /var/log/gunicorn.log
cd updates-dashboard-sol cd updates-dashboard
python3 -m venv updash-venv python3 -m venv updash-venv
source updash-venv/bin/activate source updash-venv/bin/activate
(updash-venv) pip install -r requirements.txt (updash-venv) pip install -r requirements.txt

View File

@ -1,8 +1,8 @@
# This is initial data for OS / distributions # This is initial data for OS / distributions
# Includes: # Includes:
# - Debian 4 to 9 # - Debian 4 to 11
# - CentOS 4 to 7 # - CentOS 4 to 7
# - Ubuntu Server 10.04 to 17.10 # - Ubuntu Server 10.04 to 22.04
# - FreeBSD 9.0 to 10.3 # - FreeBSD 9.0 to 10.3
# - OpenBSD 5.0 to 6.4 # - OpenBSD 5.0 to 6.4
@ -58,6 +58,20 @@
version: '9', version: '9',
end_of_support: 2022-06-30 end_of_support: 2022-06-30
} }
- model: dashboard.os
pk: null
fields: {
distribution: Debian,
version: '10',
end_of_support: 2024-06-30
}
- model: dashboard.os
pk: null
fields: {
distribution: Debian,
version: '11',
end_of_support: 2026-06-30
}
# Ubuntu Server # Ubuntu Server
- model: dashboard.os - model: dashboard.os
@ -172,6 +186,27 @@
version: '17.10', version: '17.10',
end_of_support: 2018-07-31 end_of_support: 2018-07-31
} }
- model: dashboard.os
pk: null
fields: {
distribution: Ubuntu,
version: '18.04',
end_of_support: 2023-04-01
}
- model: dashboard.os
pk: null
fields: {
distribution: Ubuntu,
version: '20.04',
end_of_support: 2025-04-01
}
- model: dashboard.os
pk: null
fields: {
distribution: Ubuntu,
version: '22.04',
end_of_support: 2027-04-01
}
# CentOS # CentOS
- model: dashboard.os - model: dashboard.os

View File

@ -3,18 +3,6 @@
- model: dashboard.team - model: dashboard.team
pk: null pk: null
fields: { fields: {
name: Pink (Smart Lyon), name: System,
color: pink color: pink
} }
- model: dashboard.team
pk: null
fields: {
name: Green (Smart Montpellier),
color: green
}
- model: dashboard.team
pk: null
fields: {
name: Purple (MyOps),
color: purple
}