Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Boards
  • Wiki
    • Table of contents
      • Hierarchy leafFileIDs
      • Hierarchy leafOpenProject edge instance for testing
      • Expanded. Click to collapseCollapsed. Click to showPreparation and Research
        • Hierarchy leafAuthorization and authentication flow
        • Hierarchy leafDevelopment environment
        • Expanded. Click to collapseCollapsed. Click to showFile Upload
          • Hierarchy leafNextcloud's upload API
        • Hierarchy leafLink types in Nextcloud
      • Hierarchy leafRequirements and UX Workshop - November 29, 2021
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leafSequence Diagram Nextcloud Integration
        • Hierarchy leafcurl API Tests
You are here:
  • Preparation and Research
  • Development environment

Content

Development environment

  • More
    • Print
    • Table of contents

Prelude

Using a docker development environment is strongly suggested, due to the very restrictive methods of installing a Nextcloud instance natively. The only way is installing a web server natively and making the Nextcloud repository readable from within the web server directory, including several owning rights configurations.

Docker

To install docker on your system, please follow the instructions provided by docker itself. You'll need docker-compose, too.

After installing docker, clone the repository and follow the instructions in the README. After running the docker-compose, a nextcloud instance will be launched at http://localhost:8210 with some seeded users. The admin user is admin:admin.

Podman

There are alternatives to run containers in virtual environments on linux, like podman if you prefer a non-root executing tool.

OpenProject Integration in Nextcloud

There is already an integration app for OpenProject available in nextcloud. To enable it, follow the step described here

Hint: This guide only enables the link with a users API key. It is also possible to connect to an OAuth2 provider app configured in OpenProject. The settings to do so are located in nextcloud "Settings > Administration > Connected Accounts".

Comments from Frank

I've got Nextcloud running based on the Docker installation as described in the GitHub page: https://github.com/nextcloud/integration_openproject

The instructions more or less work, but there were a few issues. Please see my quick notes ("OpenProject_Nextcloud_YYYY_MM_DD.odp") attached below for the corrections.

In particular these notes include the fixes to the Nextcloud PHP code to make the Nextcloud -> OP integration work (thank to Wieland!).

Loading...