Updated some requirements, began npm handling.

This commit is contained in:
th3root
2023-03-10 21:31:28 -05:00
parent d58ebd0007
commit 8ba9c1733d
4 changed files with 16 additions and 20 deletions

1
Pipfile vendored
View File

@@ -23,6 +23,7 @@ pudb = "*"
jinja2 = "*"
libsass = "*"
nodejs-bin = "*"
npm = "*"
[dev-packages]

15
Pipfile.lock generated vendored
View File

@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "5d56999438cbda3534d93e0836165fa7d44a8c0e0987034158c059e7b3a96907"
"sha256": "ef07730e6f0a8a9ffcf031f104ac9ef771a4810cc749bb1339e966d7daaa9c08"
},
"pipfile-spec": 6,
"requires": {
@@ -608,6 +608,19 @@
"index": "pypi",
"version": "==18.4.0a4"
},
"npm": {
"hashes": [
"sha256:84aefc83a3486d034c4c14f8bcd4b746b95b529289b0d042c268f6201c3034e9"
],
"index": "pypi",
"version": "==0.1.1"
},
"optional-django": {
"hashes": [
"sha256:77d6b9fb74bda30583e1af4683a39e0af725cea6003252bba75838f4939326c5"
],
"version": "==0.1.0"
},
"orjson": {
"hashes": [
"sha256:010e2970ec9e826c332819e0da4b14b29b19641da0f1a6af4cec91629ef9b988",

19
config.json vendored
View File

@@ -1,19 +0,0 @@
{
"TITLE": "pyShelf E-Book Server",
"VERSION": "0.7.0",
"BOOKPATH": "/books",
"DB_HOST": "localhost",
"DB_PORT": "5432",
"DATABASE": "pyshelf",
"USER": "pyshelf",
"PASSWORD": "pyshelf",
"BOOKSHELF": "data/shelf.json",
"ALLOWED_HOSTS": [
"localhost",
"127.0.0.1",
"[::1]",
"0.0.0.0"
],
"SECRET": "$(*6fvi@enzau@vir1ft%gz7sar%*okxhc0h$s7pud4ijnkj5t",
"BUILD_MODE": "development"
}

1
pyShelf.py vendored
View File

@@ -8,6 +8,7 @@ from src.backend.lib.config import Config
from src.backend.pyShelf_MakeCollections import MakeCollections
from src.backend.pyShelf_ScanLibrary import execute_scan
from src.frontend.lib.FastAPIServer import FastAPIServer
from src.frontend.lib.objects import FastAPIServer
# import websockets