more erpnext wip

add Readme
This commit is contained in:
teutat3s 2023-05-30 20:06:34 +02:00
parent aacdc913a2
commit 4a3e30097a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 17 additions and 1 deletions

15
README.md Normal file
View file

@ -0,0 +1,15 @@
```
docker run -d --name erpnext-redis-socketio -p 12311:6379 redis:latest
docker run -d --name erpnext-redis-queue -p 6379:6379 redis:latest
docker run -d --name erpnext-db -p 3306:3306 -e MARIADB_ROOT_PASSWORD=password -e MARIADB_DATABASE=erpnext -e MARIADB_USER=erpnext -e MARIADB_PASSWORD=erpnext mariadb:latest --collation-server=utf8mb4_unicode_ci
nix build .#runErpNext
./result/bin/runErpNext
# new terminal
nix shell nixpkgs#nginx
nginx -c /tmp/erpnext/nginx-erpnext.conf -g "daemon off;"
# http://localhost:8081
# User: Administrator
# Password: admin
```

View file

@ -72,6 +72,7 @@
cd $tmp
# Upstream initializes the DB with this command
${py.pkgs.bench}/bin/bench new-site localhost --mariadb-root-password password --admin-password admin
${py.pkgs.bench}/bin/bench --site localhost install-app erpnext
echo "Workdir: $tmp"
${pkgs.nodejs}/bin/node $tmp/apps/frappe/socketio.js &

View file

@ -54,7 +54,7 @@ http {
}
server {
listen 8080;
listen 8081;
server_name ${frappe_site_name_header};
root /tmp/erpnext/sites;