X-Git-Url: https://code.wpia.club/?p=motion.git;a=blobdiff_plain;f=README.md;fp=README.md;h=3b33b93b8964cc5634335a6856bbf219fad2c769;hp=5eb4ec222141ee6cf24c82ac6b8a12289d29eba0;hb=411519c22621b586a6dbb9ec6bc2e5e1bc020897;hpb=89c2a5c21312ad5325e8c3bc8e2dbda647be5c13 diff --git a/README.md b/README.md index 5eb4ec2..3b33b93 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,4 @@ To debug-run: LANG=C.UTF-8 FLASK_DEBUG=1 FLASK_APP=motion.py flask run ``` -To install database schema, run in an interactive python shell (`python`): -``` -import motion -motion.init_db() -``` +The database schema is automatically installed when the table "schema_version" does not exist and the application is started.