暫無描述

d0c c9fe1637e8 fetchphones working with loop 1 年之前
mysuitablephone c9fe1637e8 fetchphones working with loop 1 年之前
suitablephones c9fe1637e8 fetchphones working with loop 1 年之前
.gitignore c9fe1637e8 fetchphones working with loop 1 年之前
Readme.md b71edece2e update readme 1 年之前
docker-compose.yml c1428592d8 test postgres 1 年之前
manage.py 22ed355e69 first commit 1 年之前
requirements.txt c1428592d8 test postgres 1 年之前

Readme.md

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