FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
builder/scripts/init.sh at develop · javascriptclassic/builder · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
javascriptclassic
/
builder
Public
forked from
frappe/builder
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
builder
/
scripts
/
init.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (34 loc) · 963 Bytes
Breadcrumbs
builder
/
scripts
/
init.sh
Copy path
File metadata and controls
46 lines (34 loc) · 963 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!
bin/bash
set
-e
if
[[
-f
"
/workspaces/frappe_codespace/frappe-bench/apps/frappe
"
]]
then
echo
"
Bench already exists, skipping init
"
exit
0
fi
rm -rf /workspaces/frappe_codespace/.git
source
/home/frappe/.nvm/nvm.sh
nvm
alias
default 18
nvm use 18
echo
"
nvm use 18
"
>>
~
/.bashrc
cd
/workspace
bench init \
--ignore-exist \
--skip-redis-config-generation \
frappe-bench
cd
frappe-bench
#
Use containers instead of localhost
bench set-mariadb-host mariadb
bench set-redis-cache-host redis-cache:6379
bench set-redis-queue-host redis-queue:6379
bench set-redis-socketio-host redis-socketio:6379
#
Remove redis from Procfile
sed -i
'
/redis/d
'
./Procfile
bench new-site dev.localhost \
--mariadb-root-password 123 \
--admin-password admin \
--no-mariadb-socket
bench --site dev.localhost set-config developer_mode 1
bench --site dev.localhost clear-cache
bench use dev.localhost
bench get-app builder
bench --site dev.localhost install-app builder
Back
|
FazBrowse Home
|
New Git URL