Обновить jeyerp.yaml
This commit is contained in:
parent
b9159ffb33
commit
417ee8a807
10
jeyerp.yaml
10
jeyerp.yaml
|
|
@ -615,12 +615,16 @@ actions:
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_queue redis://localhost:6379'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_queue redis://localhost:6379'
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_socketio redis://localhost:6379'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_socketio redis://localhost:6379'
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -gp socketio_port 9000'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -gp socketio_port 9000'
|
||||||
# Starting MariaDB
|
# Starting Redis
|
||||||
nohup redis-server >/dev/null 2>&1 &
|
nohup redis-server >/dev/null 2>&1 &
|
||||||
|
echo "Waiting for Redis to Start..."
|
||||||
|
while ! redis-cli ping >/dev/null 2>&1; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
# Download a Standard App
|
# Download a Standard App
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-15 --resolve-deps erpnext https://github.com/frappe/erpnext'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-15 --resolve-deps erpnext https://github.com/frappe/erpnext'
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-15 --resolve-deps hrms https://github.com/frappe/hrms'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-15 hrms https://github.com/frappe/hrms'
|
||||||
# Create a New Site
|
# Create a New Site
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench new-site --admin-password=admin --db-root-username=root --db-root-password="${DISTROBUILDER_ROOT_UUID}" --install-app erpnext --set-default frontend'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench new-site --admin-password=admin --db-root-username=root --db-root-password="${DISTROBUILDER_ROOT_UUID}" --install-app erpnext --set-default frontend'
|
||||||
# Install Standard App
|
# Install Standard App
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app hrms'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app hrms'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue