Skip to content

🐲 Next generation frontend for ownCloud Infinite Scale

License

Notifications You must be signed in to change notification settings

backoffice-plus/ocis-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ownCloud-Phoenix

Pushing a new design and frontend concept to ownCloud

bildschirmfoto von 2018-03-14 17-28-06 bildschirmfoto von 2018-03-14 17-27-40 See this online Demo

How to build

  • Run yarn install to build core
  • Run yarn dist to build all apps configured in config.json

Run

  • optionally provide custom domain name: export SERVER_HOST=0.0.0.0:8300
  • run a webpack dev server yarn run watch

Run acceptance tests

  • clone and install testing app into owncloud from http://github.com/owncloud/testing
  • set skeletondirectory of ownCloud to <oc-root>/apps/testing/data/webUISkeleton e.g. occ config:system:set skeletondirectory --value=/var/www/owncloud/apps/testing/data/webUISkeleton
  • build, configure and run phoenix
  • setup selenium & browser
    • install the Chrome browser and let yarn start & run selenium OR
    • use docker to start the browser and selenium e.g.: docker run -d -p 4445:4444 -p 5900:5900 -v /dev/shm:/dev/shm --name selenium selenium/standalone-chrome-debug
  • run yarn run acceptance-tests <feature-files-to-test>
  • available settings to be set by environment variables:
setting meaning default
SERVER_HOST phoenix URL http://localhost:8300
BACKEND_HOST owncloud server URL http://localhost:8080
BACKEND_USERNAME owncloud administrator username admin
BACKEND_PASSWORD owncloud administrator password admin
SELENIUM_HOST selenium server host, if not set yarn will start selenum automatically
if running the selenium docker container as mentioned above set to localhost
SELENIUM_PORT port of selenium server 4445

Update dependencies

  • Run yarn update-all to update core and app dependencies

Cleanup workspace

  • Run yarn clean-all to remove node_modules and dist folder

How to build Phoenix as ownCloud app

  • run yarn install && yarn dist && yarn build
  • run make -f Makefile.release dist

How to deploy the app to ownCloud

  • Grab build/dist/phoenix.tar.gz
  • Move to the apps folder on your ownCloud installation
  • tar -xzf phoenix.tar.gz
  • Run ./occ apps:enable phoenix
  • Refresh your webui and see Phoenix in the app menu

About

🐲 Next generation frontend for ownCloud Infinite Scale

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.0%
  • Vue 29.9%
  • Gherkin 3.6%
  • SCSS 1.5%
  • Starlark 1.3%
  • JavaScript 1.2%
  • Other 0.5%