Skip to content

Latest commit

 

History

History
93 lines (67 loc) · 1.71 KB

README.md

File metadata and controls

93 lines (67 loc) · 1.71 KB

About

onezone-gui is GUI written in Ember distributed with OZ worker.

Goals

This repo allows to separate GUI from OZ worker repos, which improves ease of maintenance and lowers build times.

It is able to build a release containing only compiled GUI static files and create a static docker with those files.

Getting Started

Before building make sure submodules are initialized:

make submodules

To build a development release of GUI:

make             # run natively (requires npm, ember)
./make.py        # run in docker (onedata/gui_builder) that has all deps

To build a production release of GUI:

make rel         # run natively (requires npm, ember)
./make.py rel    # run in docker (onedata/gui_builder) that has all deps

To package a built release into a static docker:

./sr-dockerbuild

To package a built release into a static docker and push it to docker repo:

./sr-dockerbuild --push --remove

To get more info on sr-dockerbuild.sh usage:

./sr-dockerbuild --help

To start an ember build process that watches for changes and rebuilds:

./build_watch.sh

To find all broken symbolic links (those that point to nothing):

./find_broken_links.sh

Development

For development with one-env, please start oz-worker from sources, then build this project to the source dir, eg.:

ember build --environment=development-backend --output-path=/Users/kliput/Onedata/env-develop-oz/oz-worker-18.07/_build/default/rel/oz_worker/data/gui_static --watch

and start rsync watcher in one-env:

./onenv watch zone

Support

For more information visit onedata.org