GithubHelp home page GithubHelp logo

wunderio / wunderhub Goto Github PK

View Code? Open in Web Editor NEW
3.0 10.0 3.0 13.25 MB

A central content repository for the WunderSites.

Home Page: http://docs.wunderhub.apiary.io/

License: GNU General Public License v2.0

PHP 76.94% ApacheConf 11.63% Shell 1.50% CSS 5.28% HTML 4.64%

wunderhub's Introduction

WunderHub

Wunder Setup

  1. git clone [email protected]:wunderkraut/wunderhub.git
  2. cd wunderhub
  3. composer install
  4. Point your web server to the web directory.

Usage

First you need to install composer.

Note: The instructions below refer to the global composer installation. You might need to replace composer with php composer.phar (or similar) for your setup.

After that you can create the project:

composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction

With composer require ... you can download new dependencies to your installation.

cd some-dir
composer require drupal/devel:8.*

What does the template do?

When installing the given composer.json some tasks are taken care of:

  • Drupal will be installed in the web-directory.
  • Autoloader is implemented to use the generated composer autoloader in vendor/autoload.php, instead of the one provided by Drupal (web/vendor/autoload.php).
  • Modules (packages of type drupal-module) will be placed in web/modules/contrib/
  • Theme (packages of type drupal-theme) will be placed in web/themes/contrib/
  • Profiles (packages of type drupal-profile) will be placed in web/profiles/contrib/
  • Creates default writable versions of settings.php and services.yml.
  • Creates sites/default/files-directory.
  • Latest version of drush is installed locally for use at vendor/bin/drush.
  • Latest version of DrupalConsole is installed locally for use at vendor/bin/drupal.

Updating Drupal Core

Updating Drupal core is a two-step process.

  1. Update the version number of drupal/core in composer.json.
  2. Run composer update drupal/core.
  3. Run ./scripts/drupal/update-scaffold [drush-version-spec] to update files in the web directory, where drush-version-spec is an optional identifier acceptable to Drush, e.g. drupal-8.0.x or drupal-8.1.x, corresponding to the version you specified in composer.json. (Defaults to drupal-8, the latest stable release.) Review the files for any changes and restore any customizations to .htaccess or robots.txt.
  4. Commit everything all together in a single commit, so web will remain in sync with the core when checking out branches or running git bisect.

Generate composer.json from existing project

With using the "Composer Generate" drush extension you can now generate a basic composer.json file from an existing project. Note that the generated composer.json might differ from this project's file.

FAQ

Should I commit the contrib modules I download

Composer recommends no. They provide argumentation against but also workrounds if a project decides to do it anyway.

wunderhub's People

Contributors

dcorb avatar jcnventura avatar joesb avatar laurisigaunis avatar lewisnyman avatar pcambra avatar yannickoo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wunderhub's Issues

Issues in api/team

Im working on user importing to WunderSites from WunderHub and I spotted some issues:

  1. To be able properly use users in other sites (like WunderSites), should include email field as well, so it can be used in sites as real email and also as username.
  2. In api/team there is two entries with uid=342 and two accounts for Aleksi Johansson.
  3. Im not able to see my own entry there (uid=355).

Staff statuses

A status board for people. Are they in work, on holiday, off sick, at lunch? Possible to integrate with cato to update it?

from @steveparks

SSO via Wunderkraut Google account

It would be great to get WunderHub user accounts to authenticate against the user's WK Google account, so passwords and access permission are managed in one central location.

Icing on the cake: automagic Hub account creation/blocking when a person joins/leaves WK

Add human friendly filters to api endpoints

All API endpoints filter are based on UUID or similar. It would be nice if something like /api/team/lewis returned a result. It would open the door for better public facing urls and natural language tasks with cato.

Explore authentication options for User CRUD operations

Users need to have CRUD (minus D?) operations exposed to an API endpoint.

This needs to be as secure as possible. Drupal 8 currently supports the follwong types of authentication out of the box:

  • Oauth 1
  • HTTP Basic Authentication

Are there other modules available to provide authentication providers?
Is OA1 or HTTP Basic Auth enough?

Expose user data to ElasticSearch

I'm investigating the possibility of exposing user data through search_api so that I can easliy create a REST endpoint using views to search for skills and other data (to be defined properly).

Here are some questions:

  • Is search api with elasticsearch integration the best way to go about this?
  • Is using views to provide the REST end point a good idea?
    • Architecturally we're very restricted by the views way of doing things.

store object in picture property

Currently picture property is just a string and other versions of the user's picture have named like picture_thumb. It would be great when picture would be an object with thumb, medium, large and original in it.

I don't know how to rewrite Views' output because when I tried that I figured out that arrays are displayed comma-separated :/

Content canonical origin

We need to work out a way to indicate the canonical origin of the content, so that SEO is not punished.

Content translation

Need to add content translation so non-En sites can create content in different languages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.