Skip to content

Commit

Permalink
Added building options available.
Browse files Browse the repository at this point in the history
As there is no explenation as to the options available when building the standalone app, I am proposing to add a short bit about how to build the standalone app and include how to change the static path to relative.

See issue interactivethings#482 and interactivethings#483
  • Loading branch information
Burning-Panda authored Oct 27, 2020
1 parent 070137b commit 6423853
Showing 1 changed file with 26 additions and 0 deletions.
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 "./"
```

0 comments on commit 6423853

Please sign in to comment.