Pushing a new design and frontend concept to ownCloud
- Run
yarn install
to build core - Run
yarn dist
to build all apps configured in config.json
- optionally provide custom domain name:
export SERVER_HOST=0.0.0.0:8300
- run a webpack dev server
yarn run watch
- 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 |
- Run
yarn update-all
to update core and app dependencies
- Run
yarn clean-all
to remove node_modules and dist folder
- run
yarn install && yarn dist && yarn build
- run
make -f Makefile.release
dist
- 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