more erpnext wip
add Readme
This commit is contained in:
parent
aacdc913a2
commit
4a3e30097a
15
README.md
Normal file
15
README.md
Normal 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
|
||||
```
|
|
@ -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 &
|
||||
|
|
|
@ -54,7 +54,7 @@ http {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen 8081;
|
||||
server_name ${frappe_site_name_header};
|
||||
root /tmp/erpnext/sites;
|
||||
|
||||
|
|
Loading…
Reference in a new issue