暂无描述
查找文件
2023-01-21 03:49:32 +01:00
mysuitablephone fetchphones working with loop 2023-01-21 03:49:32 +01:00
suitablephones fetchphones working with loop 2023-01-21 03:49:32 +01:00
.gitignore fetchphones working with loop 2023-01-21 03:49:32 +01:00
docker-compose.yml test postgres 2023-01-16 17:29:23 +01:00
manage.py first commit 2022-12-30 00:25:56 +01:00
Readme.md update readme 2023-01-12 18:31:23 +01:00
requirements.txt test postgres 2023-01-16 17:29:23 +01:00

Suitable Phones

Installation

git clone https://git.lattuga.net/d0c/suitablephones.git
virtualenv .
source bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser

Download Lineage official wiki as data source. Yaml files descripting all devices are in _"lineage_wiki/data/devices/"

git clone https://github.com/LineageOS/lineage_wiki.git

Set LINEAGEWIKI variable in mysuitablephone/settings.py with the proper path of lineage_wiki.

es.

LINEAGEWIKI = '/home/d0c/lineage_wiki'

Populate database:

python manage.py fetchphones

Run

python manage.py runserver

ToDo

  • [] add .env