mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Updated some requirements, began npm handling.
This commit is contained in:
1
Pipfile
vendored
1
Pipfile
vendored
@@ -23,6 +23,7 @@ pudb = "*"
|
|||||||
jinja2 = "*"
|
jinja2 = "*"
|
||||||
libsass = "*"
|
libsass = "*"
|
||||||
nodejs-bin = "*"
|
nodejs-bin = "*"
|
||||||
|
npm = "*"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
|
|
||||||
|
|||||||
15
Pipfile.lock
generated
vendored
15
Pipfile.lock
generated
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"hash": {
|
"hash": {
|
||||||
"sha256": "5d56999438cbda3534d93e0836165fa7d44a8c0e0987034158c059e7b3a96907"
|
"sha256": "ef07730e6f0a8a9ffcf031f104ac9ef771a4810cc749bb1339e966d7daaa9c08"
|
||||||
},
|
},
|
||||||
"pipfile-spec": 6,
|
"pipfile-spec": 6,
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -608,6 +608,19 @@
|
|||||||
"index": "pypi",
|
"index": "pypi",
|
||||||
"version": "==18.4.0a4"
|
"version": "==18.4.0a4"
|
||||||
},
|
},
|
||||||
|
"npm": {
|
||||||
|
"hashes": [
|
||||||
|
"sha256:84aefc83a3486d034c4c14f8bcd4b746b95b529289b0d042c268f6201c3034e9"
|
||||||
|
],
|
||||||
|
"index": "pypi",
|
||||||
|
"version": "==0.1.1"
|
||||||
|
},
|
||||||
|
"optional-django": {
|
||||||
|
"hashes": [
|
||||||
|
"sha256:77d6b9fb74bda30583e1af4683a39e0af725cea6003252bba75838f4939326c5"
|
||||||
|
],
|
||||||
|
"version": "==0.1.0"
|
||||||
|
},
|
||||||
"orjson": {
|
"orjson": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:010e2970ec9e826c332819e0da4b14b29b19641da0f1a6af4cec91629ef9b988",
|
"sha256:010e2970ec9e826c332819e0da4b14b29b19641da0f1a6af4cec91629ef9b988",
|
||||||
|
|||||||
19
config.json
vendored
19
config.json
vendored
@@ -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
1
pyShelf.py
vendored
@@ -8,6 +8,7 @@ from src.backend.lib.config import Config
|
|||||||
from src.backend.pyShelf_MakeCollections import MakeCollections
|
from src.backend.pyShelf_MakeCollections import MakeCollections
|
||||||
from src.backend.pyShelf_ScanLibrary import execute_scan
|
from src.backend.pyShelf_ScanLibrary import execute_scan
|
||||||
from src.frontend.lib.FastAPIServer import FastAPIServer
|
from src.frontend.lib.FastAPIServer import FastAPIServer
|
||||||
|
from src.frontend.lib.objects import FastAPIServer
|
||||||
# import websockets
|
# import websockets
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user