23 lines
561 B
Markdown
23 lines
561 B
Markdown
to install the dev env:
|
|||
|
|
|
||
|
|
|
||
|
|
sudo pip3 install virtualenv
|
||
|
|
virtualenv p3env
|
||
|
|
source p3env/bin/activate
|
||
|
|
pip install uwsgi flask fernet pymysql
|
||
|
|
|
||
|
|
|
||
|
|
to install kivi in the venv:
|
||
|
|
pip install Cython==0.23
|
||
|
|
sudo apt-get install libgl1-mesa-dev
|
||
|
|
pip install kivy
|
||
|
|
pip install pygame
|
||
|
|
vi ~/.kivy/config.ini
|
||
|
|
change: multisamples = 0
|
||
|
|
|
||
|
|
|
||
|
|
# as root in mysql
|
||
|
|
create database Flowers;
|
||
|
|
grant create,select,update,insert,grant option on Flowers.* to flower@localhost identified by '608f0b988db4a96066af7dd8870de96c';
|
||
|
|
grant create user,reload on *.* to flower@localhost;
|
||
|
|
flush privileges;
|