Skip to content

Hosting: Local

Pablo Mayrgundter edited this page Feb 8, 2024 · 1 revision

Build the static serving directory, including any of your IFC files

> cp $IFC_FILES ./public # Optional if you have IFC files to publish
> yarn build # copies static assets from ./public
> yarn serve # to test IFC files
# IFC files now hosted at http://localhost:8080/

Your files will now serve from the path /share/v/p/.... E.g. the index.ifc in the build directory is linked as:

https://localhost:8080/share/v/p/index.ifc

or on localhost as:

https://<your site>/share/v/p/index.ifc

Clone this wiki locally