Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
code
Public Stack Site
Commits
25eecc39
Commit
25eecc39
authored
Aug 07, 2020
by
alain
🐙
Browse files
docker debug
parent
ea4d1840
Changes
4
Hide whitespace changes
Inline
Side-by-side
backend/components/content/row.json
View file @
25eecc39
...
...
@@ -15,6 +15,9 @@
"type"
:
"component"
,
"repeatable"
:
true
,
"component"
:
"content.header"
},
"title"
:
{
"type"
:
"string"
}
}
}
backend/extensions/content-manager/admin/src/components/CKEditor/index.js
View file @
25eecc39
...
...
@@ -28,8 +28,6 @@ const config = {
}
const
Editor
=
({
onChange
,
name
,
value
})
=>
{
console
.
log
(
<
CKEditor
/>
);
return
(
<
Wrapper
>
<
CKEditor
...
...
backend/util/util.js
View file @
25eecc39
export
const
buildGatsbySite
=
()
=>
{
const
{
exec
}
=
require
(
'
child_process
'
);
exec
(
'
cd ../frontend &&
gatsby
build
'
,
(
error
,
stdout
,
stderr
)
=>
{
exec
(
'
cd ../frontend &&
yarn
build
'
,
(
error
,
stdout
,
stderr
)
=>
{
if
(
error
)
{
console
.
error
(
`exec error:
${
error
}
`
);
console
.
error
(
`stderr:
${
stderr
}
`
);
return
;
}
console
.
log
(
`stdout:
${
stdout
}
`
);
...
...
build.sh
View file @
25eecc39
docker build
-t
waag/public-stack-site .
\ No newline at end of file
docker build
--no-cache
-t
waag/public-stack-site .
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment