This is a guide on how you can run both Phoenix and Reva locally in a dev environment. Phoenix is the new ownCloud frontend application and can be connected to Reva.
If you encounter strange problems, please check which version of the prerequisites you are running, it might be that you need to update/downgrade. For reference ask someone who already has reva and Phoenix running, they will have updated information on the versions. * golang >= 1.12 * make/automake * git >= 2 * node (check engines information in phoenix/package.json) * yarn >= 1.0
Clone the phoenix repo from https://github.com/owncloud/phoenix
git clone https://github.com/owncloud/phoenix
Clone the reva repo from https://github.com/cs3org/reva
git clone https://github.com/cs3org/reva
Follow the instructions in https://reva.link/docs/getting-started/install-reva/ for how to build reva. If you will do local changes in reva, follow the “Build from sources” instructions.
Go to your Phoenix folder
Copy the config.sample.json file to config.json with the following command:
cp ../reva/examples/oc-phoenix/phoenix.oidc.config.json config.json
Now you need to run Revad (the Reva daemon). Follow these steps from the reva folder:
cd examples/oc-phoenix/ && ../../cmd/revad/revad -dev-dir .
The Reva daemon (revad) should now be running.
Now you also need to run Phoenix, open another terminal tab and follow these steps from the phoenix folder.
Install all packages and build the project (this you only need to do once):
Run Phoenix locally:
You should now have both Reva and Phoenix up and running. You can access Phoenix on
Log in using username einstein and password relativity.
If you now do changes in Phoenix they will live changed on the opened tab http://localhost:8300. You can check for example, change the name of one of the navItems in “default.js”.