Hello everyone
I’ve been trying to deploy the website locally, but I get this error
sh local-test.sh
Deploying FLUID Website (local environment)
Removing older builds (1/4) . . .
Generating build (2/4) . . .
compiling catalog theme/2014/translations/en/LC_MESSAGES/messages.po to theme/2014/translations/en/LC_MESSAGES/messages.mo
compiling catalog theme/2014/translations/es/LC_MESSAGES/messages.po to theme/2014/translations/es/LC_MESSAGES/messages.mo
CRITICAL: IOError: [Errno 2] No such file or directory: '/app/node_modules/intl-tel-input/src/css/intlTelInput.scss'
It seems is trying to find intlTelInput.scss file, but I don’t know where
Please update the post with the procedure and/or commands you are using to get this error
I do not suggest you to run the local-test.sh
script directly, since you need a lot of dependendencies to be installed and files to be placed on specific paths, our Docker container already has all the necessary dependencies to deploy locally the webpage, just run:
docker run -ti -p 8000:8000 -v /path/to/web-repo/:/web registry.gitlab.com/fluidattacks/web:base /web/local-test.sh
You may need to use this command several times to check the changes of your article, so I suggest you to use an alias
alias localtest='docker run -ti -p 8000:8000 -v /path/to/web-repo/:/web registry.gitlab.com/fluidattacks/web:base /web/local-test.sh'
Hope it helps
1 Like
Hello.
After run:
alias localtest='docker run -ti -p 8000:8000 -v /path/to/web-repo/:/web registry.gitlab.com/fluidattacks/web:base /web/local-test.sh'
Then I just run:
localtest
And I get this error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/web/local-test.sh\": stat /web/local-test.sh: no such file or directory": unknown.
You are not running the command properly, try to find out what’s wrong
Got it,
I did not specified the path to web-repo, now it runs
1 Like
What is the correct commit message for this repo ?
Research yourself before asking. Then ask with concrete questions and examples about your best guesses or trials.
1 Like
also open another thread, this question is not related to the topic of this post
1 Like