Skip to content

Commit 648066f

Browse files
committed
Adds install deps script
1 parent 5dbdd85 commit 648066f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
sites
66

77
development/*
8+
!development/scripts
89
!development/.vscode
910
!development/README.md
1011
!development/installer.py
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# use the correct version of node
4+
nvm use 18
5+
6+
# initialise frappe bench
7+
bench init --skip-redis-config-generation frappe-bench
8+
cd frappe-bench
9+
10+
# set the config
11+
bench set-config -g db_host mariadb
12+
bench set-config -g redis_cache redis://redis-cache:6379
13+
bench set-config -g redis_queue redis://redis-queue:6379
14+
bench set-config -g redis_socketio redis://redis-socketio:6379
15+
16+
# set the config to developer mode
17+
bench set-config -g developer_mode true

0 commit comments

Comments
 (0)