Skip to content
Next generation frontend for ownCloud
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create CODEOWNERS Feb 18, 2019
appinfo Set max version to 10 for Semver Dec 6, 2018
apps [tx] updated from transifex May 4, 2019
build lint scripts in build dir as well Feb 13, 2019
img Add manifest.json Aug 14, 2018
l10n [tx] updated from transifex May 4, 2019
src Reused login styles at redirection Apr 30, 2019
static Fixes #515 - fix whitescreen of death Jan 23, 2019
tests Add tests for file/folder filter May 3, 2019
themes Fixes #515 - fix whitescreen of death Jan 23, 2019
.babelrc Adjust babel in all apps Jan 31, 2019
.browserslistrc Add browserslist config file Jan 31, 2019
.dockerignore add .dockerignore Apr 26, 2019
.drone.yml set the skeleton folder for webUI tests Apr 11, 2019
.editorconfig Adding editorconfig Dec 7, 2018
.eslintrc.json Apply new dist handling in pdf-viewer Jan 17, 2019
.gitignore ignore .envrc Apr 8, 2019
.htaccess Add htaccess to define caching in browsers Dec 17, 2018
CHANGELOG.md 0.1.0 - Changelog and deployment instructions Sep 26, 2018
Dockerfile Adapt Dockerfile Feb 13, 2019
LICENSE Create LICENSE Feb 23, 2018
Makefile Translate confirmation dialog Mar 22, 2019
Makefile.release Adapt Makefile.release Feb 13, 2019
README.md Merge pull request #981 from owncloud/improveDocumentation Apr 16, 2019
config.json.dist refs #302 use oAuth config from vuex Nov 5, 2018
config.json.sample Add Avatar.vue to show avatar given userid Apr 8, 2019
index.html
manifest.json Fix indent based on OC coding guidelines Aug 14, 2018
nightwatch.conf.js first upload tests May 2, 2019
package.json Bump owncloud-sdk from 1.0.0-65 to 1.0.0-74 May 2, 2019
webpack-phoenix-integration.js webpack-phoenix-integration script for comfortable app integration Jan 17, 2019
webpack.common.js Add ods from npmjs.com Apr 8, 2019
webpack.dev.js Don't watch tests files for full page reload Apr 29, 2019
webpack.prod.js Add missing new Feb 24, 2019
yarn.lock Bump owncloud-sdk from 1.0.0-65 to 1.0.0-74 May 2, 2019

README.md

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
You can’t perform that action at this time.