Skip to content
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

Added building options available. #517

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/installation/standalone.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,29 @@ python -m SimpleHTTPServer
### On Windows

Use [xampp](https://www.apachefriends.org/de/index.html) or something similar.


## Building Catalog Standalone

To build a standalone app use the following command in the catalog directory.
```code
catalog build
```

option("babelrc", "Use local .babelrc file (defaults to true)");
Options available for building
- -o
Directory to build into
Default `<catalog directory>/build`
- -u / -public-url
The URL where production assets get loaded from.
Default `/`
For relativ paths use `./`
- babelrc
Use local .babelrc file.
Defaults to true.

To use relative paths use the following code to build
```code
catalog build -u "./"
```