aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2023-05-07 14:27:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2023-05-07 14:27:58 +0200
commit8a5369ebb1942c796d25b9af1ea6f49ae819b93a (patch)
tree3bbcfb0c0ffe3f02107065232b7a4ec5193df6c6
parentfix: [database] Fixed an issue in the database create. (diff)
downloadnewspipe-8a5369ebb1942c796d25b9af1ea6f49ae819b93a.tar.gz
newspipe-8a5369ebb1942c796d25b9af1ea6f49ae819b93a.tar.bz2
newspipe-8a5369ebb1942c796d25b9af1ea6f49ae819b93a.zip
chg: [documentation] Updated README.
-rw-r--r--README.md3
-rw-r--r--package-lock.json16
-rw-r--r--package.json3
3 files changed, 20 insertions, 2 deletions
diff --git a/README.md b/README.md
index 58593e47..d3883ef4 100644
--- a/README.md
+++ b/README.md
@@ -53,8 +53,9 @@ $ poetry shell
$ pybabel compile -d newspipe/translations
$ export NEWSPIPE_CONFIG=sqlite.py
$ export FLASK_APP=runserver.py
-$ export FLASK_ENV=development
+$ export FLASK_DEBUG=1
$ flask db_create
+$ flask db_init
$ flask create_admin --nickname <nickname> --password <password>
$ flask run
* Serving Flask app "runserver" (lazy loading)
diff --git a/package-lock.json b/package-lock.json
index ee08868f..bb868b3b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,6 +12,7 @@
"dependencies": {
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.3",
+ "bootstrap-select": "^1.13.18",
"chart.js": "^4.2.0",
"fork-awesome": "^1.2.0",
"moment": "^2.29.4"
@@ -52,6 +53,15 @@
"@popperjs/core": "^2.11.6"
}
},
+ "node_modules/bootstrap-select": {
+ "version": "1.13.18",
+ "resolved": "https://registry.npmjs.org/bootstrap-select/-/bootstrap-select-1.13.18.tgz",
+ "integrity": "sha512-V1IzK4rxBq5FrJtkzSH6RmFLFBsjx50byFbfAf8jYyXROWs7ZpprGjdHeoyq2HSsHyjJhMMwjsQhRoYAfxCGow==",
+ "peerDependencies": {
+ "bootstrap": ">=3.0.0",
+ "jquery": "1.9.1 - 3"
+ }
+ },
"node_modules/chart.js": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.2.0.tgz",
@@ -71,6 +81,12 @@
"node": ">=0.10.3"
}
},
+ "node_modules/jquery": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.3.tgz",
+ "integrity": "sha512-bZ5Sy3YzKo9Fyc8wH2iIQK4JImJ6R0GWI9kL1/k7Z91ZBNgkRXE6U0JfHIizZbort8ZunhSI3jw9I6253ahKfg==",
+ "peer": true
+ },
"node_modules/moment": {
"version": "2.29.4",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
diff --git a/package.json b/package.json
index 11544297..6c04a6a5 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,8 @@
"dependencies": {
"@popperjs/core": "^2.11.6",
"bootstrap": "^5.2.3",
- "chart.js": "^4.2.0",
+ "bootstrap-select": "^1.13.18",
+ "chart.js": "^4.2.1",
"fork-awesome": "^1.2.0",
"moment": "^2.29.4"
},
bgstack15