-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for running build.sh #684
base: master
Are you sure you want to change the base?
Conversation
on linux, if i launch serve|build.sh scripts from shell, i got an error. the solution is running this scripts from CommandBox shell
What's the error? Better to fix it I think :) I run on Linux without probs so should be solvable.. |
The error was
|
Below is what I get on the master branch (I have pulled all the latest changes), could you post your full output + confirm what version of CommandBox you have installed (I have v4.7.0+00026)?
Sidenote @zspitzer - the Google Sitemap notification should probably be a separate script - or build option that doesn't run by default. Can then be triggered from Travis and not on local builds. |
CommandBox version: OS ERROR:
|
I'll fire up my Mac tomorrow and have a look |
I wonder: could you try changing the webroot in |
Not sure if this is the best place for this, or if I should open another issue (happy to, just let me know). I run into a possibly related issue when I first tried to build/run the docs locally. The CommandBox server doesn't start up in time, so the curl requests fail with Here are the details: CommandBox Version: 4.8.0+00059 OS: macOS Mojave 10.14.6 Error:
|
|
||
Once this has finished, you should find `./builds/html` and `./builds/dash` directories with the website content / dash docsets built. | ||
|
||
### Running a server locally | ||
|
||
We have provided a utility server who's purpose is to run locally to help while developing/writing the documentation. To start it up, execute the `serve.sh` or `serve.bat` script found in the root of the project, i.e. | ||
We have provided a utility server who's purpose is to run locally to help while developing/writing the documentation. To start it up, execute the `serve.sh` or `serve.bat` script (from the CommandBox console) found in the root of the project, i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have provided a utility server who's purpose is to run locally to help while developing/writing the documentation. To start it up, execute the `serve.sh` or `serve.bat` script (from the CommandBox console) found in the root of the project, i.e. | |
We have provided a utility server whose purpose is to run locally to help while developing/writing the documentation. To start it up, execute the `serve.sh` or `serve.bat` script (from the CommandBox console) found in the root of the project, i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a bit misleading, the shell scripts can also be run directly from a shell / terminal
On Windows, I just double click serve.bat
from Windows Explorer
on linux, if i launch serve|build.sh scripts from shell, i got an error.
the solution is running this scripts from CommandBox shell