cleaning and setup apxtribe setup
This commit is contained in:
parent
fd1a3c16a1
commit
675c29b105
15
package.json
15
package.json
@ -56,43 +56,30 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@editorjs/editorjs": "^2.26.5",
|
||||
"@google/generative-ai": "^0.11.3",
|
||||
"apidoc": "^0.54.0",
|
||||
"async": "^3.2.0",
|
||||
"axios": "^1.6.2",
|
||||
"baunsu": "^0.2.3",
|
||||
"bcrypt": "^5.0.0",
|
||||
"cors": "^2.8.4",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dayjs": "^1.11.7",
|
||||
"dns-sync": "^0.2.1",
|
||||
"express": "^4.16.3",
|
||||
"faiss-node": "^0.5.1",
|
||||
"formidable": "^2.1.1",
|
||||
"fs-extra": "^11.1.0",
|
||||
"glob": "^7.1.2",
|
||||
"hosts": "^0.0.1",
|
||||
"jszip": "^3.7.1",
|
||||
"jwt-simple": "^0.5.1",
|
||||
"luxon": "^2.1.1",
|
||||
"moment": "^2.22.1",
|
||||
"mustache": "^2.3.0",
|
||||
"nodemailer": "^6.9.7",
|
||||
"openpgp": "^5.10.1",
|
||||
"path": "^0.12.7",
|
||||
"pm2": "^2.10.4",
|
||||
"readline-sync": "^1.4.10",
|
||||
"sharp": "^0.33.4",
|
||||
"smtp-client": "^0.4.0",
|
||||
"nodemailer": "^6.9.7",
|
||||
"stripe": "^14.4.0",
|
||||
"uuid": "^9.0.0",
|
||||
"yarn": "^1.22.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"daisyui": "^4.12.10",
|
||||
"postcss-import": "^16.1.0",
|
||||
"tailwindcss": "^3.4.6"
|
||||
}
|
||||
}
|
||||
|
20
setup.sh
Executable file
20
setup.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# Installation process
|
||||
# Create in apxtowns a town-nations
|
||||
# wget https://{url of an existing apxtri}/setup.sh
|
||||
# chmode +x setup.sh
|
||||
# ./setup.sh mode(dev|prod) url() )
|
||||
#
|
||||
mode=$1
|
||||
url=$2
|
||||
|
||||
git clone https://gitea.ndda.fr/apxtri/adminapi
|
||||
#wget https://testwall-ants.ndda.fr/adminapi/setup.apxtri.tar.gz
|
||||
wget https://testwall-ants.ndda.fr/adminapi/setup.objects.tar.gz
|
||||
tar -xzvf setup.objects.tar.gz -C . -p && rm setup.objects.tar.gz
|
||||
mkdir -p adminapi/objects/persons/{itm,idx}
|
||||
mkdir -p adminapi/{tmp,logs}
|
||||
mkdir adminapi/logs/nginx
|
||||
cd adminapi
|
||||
yarn install
|
||||
yarn dev
|
Loading…
Reference in New Issue
Block a user