maj de README.md

This commit is contained in:
Vincent BENOIT
2022-04-06 17:18:06 +02:00
parent 2b9a677753
commit 4838385a52

View File

@@ -1,2 +1,44 @@
# app-python-flash-angular-demo
## Install pipenv :
$ sudo apt install pipenv
## Install mariadb :
$ sudo apt install mariadb-server
$ sudo mysql_secure_installation
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Set root password? [Y/n] Y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
Remove anonymous users? [Y/n] y
... Success!
Disallow root login remotely? [Y/n] y
... Success!
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reload privilege tables now? [Y/n] y
... Success!
Thanks for using MariaDB!
## Install dependencies :
$ pipenv install mariadb
$ pipenv install flask-mysqldb
$ pipenv install flask-cors
$ pipenv install flask marshmallow
## Launch demo App :
$ pipenv run python src/app.py