update readme

This commit is contained in:
d0c 2023-01-04 14:27:06 +01:00
parent 938734f34f
commit 7a9e31a8d3

View file

@ -1,22 +1,7 @@
# Suitable Phones
## Setup
Clone this repository.
Download Lineage official wiki as data source:
```
git clone https://github.com/LineageOS/lineage_wiki.git
```
Yaml file descripting all devices are in _"lineage_wiki/_data/devices/"_
Set the proper path in var _LINEAGEWIKI_
TODO: choose where to set _LINEAGEWIKI_
## Installation:
## Installation
```
git clone https://git.lattuga.net/d0c/suitablephones.git
@ -25,4 +10,20 @@ bin/pip install -r requirements.txt
bin/python manage.py migrate
bin/python manage.py createsuperuser
bin/python manage.py runserver
```
```
## Setup
Download Lineage official wiki as data source.
Yaml file 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'
```