🖊️
Meshviewer Documentation
  • Meshviewer Documentation
  • about
  • build_install
  • changelog
  • config_js
  • debug
  • development
  • examples
    • deploy-on-netlify
    • geo-json
    • map-layers
  • release-process
  • SUMMARY
  • supported-backends
Powered by GitBook
On this page
  • Build utilities
  • Installing dependencies
  • Adjust config and style
  • Building
  • Upgrade

Was this helpful?

build_install

PreviousaboutNextchangelog

Last updated 5 years ago

Was this helpful?

Build utilities

  • yarn

  • optional: gulp-cli (or use yarn run gulp [command] instead of gulp)

Installing dependencies

Install yarn package-manager:

Choose your OS and install yarn https://yarnpkg.com/en/docs/install

Execute these commands on your server as a normal user to prepare the dependencies:

git clone https://github.com/ffrgb/meshviewer.git
cd meshviewer
yarn
# Copy the ffrgb-config as a template
cp config.ffrgb.js config.js
# Only needed if no global gulp is installed / OS like arch provides a package
yarn global add gulp-cli

Adjust config and style

  1. (optional) Edit files in scss/custom/. Additional information under .

  2. (optional) Change logo.svg and generate new icons or adjust the images yourself.

Building

Just run the following command from the meshviewer directory:

gulp

This will generate the folder build/ that will contain all required files.

Upgrade

  1. Update the git repository but keep your local changes:

    git update-index --assume-unchanged config.js
  2. Check your config for possible changes that were added since your last checkout

  3. Run the build step again

https://yarnpkg.com/
Change configuration to your community
development