GithubHelp home page GithubHelp logo

akeneo / pim-docs Goto Github PK

View Code? Open in Web Editor NEW
58.0 40.0 149.0 9.52 MB

[Community Documentation Repository] The open source Product Information Management (PIM)

Home Page: http://docs.akeneo.com/latest/index.html

Python 3.76% HTML 6.14% CSS 65.42% JavaScript 1.69% PHP 14.18% Dockerfile 0.33% Makefile 0.86% C++ 0.99% Assembly 6.63%

pim-docs's Introduction

Akeneo PIM Documentation

The Akeneo PIM documentation

Build the documentation

Install Docker.

Then make build.

The docs will be built into ./pim-docs-build.

Deploy the documentation

With Circle CI (recommended)

Once you merge a PR into the master branch, it is automatically deployed on the staging server. In order to deploy it in production, please follow these steps:

  • Check the staging environment if everything is ok to be deployed in production
  • Open the list of merged PR in master branch in Circle CI. You have to be connected with your Github account.
  • Click on the first row which should be "On hold"

List of merged PR in master

  • Click on the box "approve_to_deploy_in_production" and approve. It will launch the deployment in production.

List of jobs in a workflow

  • It's deployed in production in 1 minute!

Local deployment (not recommended)

Your public SSH key should be deployed on the server (see Ansible configuration). It is strongly recommended to release with the CI process though.

To deploy what you have built, use HOSTNAME=foo.com PORT=1985 VERSION=bar make deploy.

HOSTNAME is the server to deploy the documentation on. PORT is the SSH port to connect to the server. VERSION is the subdirectory of /var/www/ where the documentation will be deployed on the the server. It should be something like 3.2, 4.0 or master.

To know the production and staging environments of pim-docs, please read the inventory.

Contribution

Don't hesitate to suggest cookbook ideas via https://github.com/akeneo/pim-docs/issues.

Developer's notes

  • The folder /_themes/sphinx_rtd_theme is a clone from https://github.com/snide/sphinx_rtd_theme, and was updated on 2016-07. If you want to customize the Akeneo theme, please only update /_theme/akeneo_rtd theme.

pim-docs's People

Contributors

ahocquard avatar aymericplanche avatar bitone avatar christophe-chausseray avatar clementgautier avatar damien-carcel avatar doodoune avatar fitn avatar gquemener avatar grena avatar jjanvier avatar jmleroux avatar juliensnz avatar laurebrosseau avatar laurentpetard avatar ludovictourman avatar micheltag avatar mickaelandrieu avatar mmetayer avatar momoss avatar nidup avatar phaseinducer avatar pierallard avatar pierrickmartos avatar rouliane avatar samirboulil avatar solivier avatar stevenvaidie avatar tamarasaurus avatar valentinmerlet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pim-docs's Issues

Update job configuration in "How to create a new connector ?"

OLD :
reader: pim_base_connector.reader.doctrine.bulk_product
processor: pim_base_connector.processor.csv_serializer.product
writer: pim_base_connector.writer.product_file

NEW :
reader: pim_base_connector.reader.doctrine.product
processor: pim_base_connector.processor.product_to_flat_array
writer: pim_base_connector.writer.file.csv_product

Http status code documentation/implementation mismatch

I found a discrepancy in the API documentation over at api.akeneo.com. From what I can gather, this repo contains the source code to the "normal" documentation, so I suspect this isn't the right place to report this. Sorry! Is there a dedicated (public) repo for the API docs?

The endpoint for deleting products is expected to return 200 OK if the operation was successful (according to docs). When I use the endpoint in version 1.7.2, I get a 204 No Content when the operation is successful.

This isn't holding me up, I just thought I'd report this so that the documentation for the new API is spotless ✨

Thanks!

Change app/console to bin/console (PIM 2.x)

Since the use of Symfony 3 in PIM 2.x, Symfony's console is now located in bin/console instead of app/console.

Please change all those references in pim-docs for branches 2.0/2.1/master

[Cookbook] Missing informations in "How to Create a Reference Data"

Hi,

It seems that many informations are missing on this page : https://docs.akeneo.com/master/cookbook/catalog_structure/creating_a_reference_data.html#how-to-create-a-reference-data

After the configuration of the reference data there is one command to check the doctrine schema and one to check the reference data but nothing about update the doctrine schema or update the database : https://docs.akeneo.com/master/cookbook/catalog_structure/creating_a_reference_data.html#configuring-the-reference-data

It looks like these insctructions are missing :
php doctrine:schema:update --dump-sql
php app/console doctrine:schema:update --force

With only the insctructions of the cookbook, you can't make a reference data work.

Regards,

Enhancements for contributors guide

Hello guys! This week i was thinking about more things we may enhance in dev docs and found that there is nothing exact in code contribution section.

My proposition is to add more info about cloning fetching and pulling to dev repo.

May be something like Sylius did it?

Add information about ImageMagick in our doc

Add info about ImageMagick which is a pre-requisite for the Enterprise Edition since 1.4 version.
Update cookbook for 1.5 and 1.6 versions - for page System Requirements.

Specify that it needs to be installed only for EE.

URLs to archives should be https

Hello team,

Beautifully structured documents 👌 , thanks a lot for making it easy to getting started with Akeneo PIM 🎉 .

I found a really trivial problem in the docs - in fact, I noticed it a few days ago and thought I'd just let it go... but I've been thinking about it every now and then, so here goes!

I'm following the guide for Installing Akeneo PIM CE with the Archive. As I was writing scripts to download and install Akeneo PIM, I noticed that the download URLs for the archives returned 301 Moved Permanently. The reason for this that the download site uses https, but the documents uses http. This halted my script, as I've disabled auto redirects.

The fix for this is just adding two characters, so very trivial!
Thanks and sorry! 🙂

Reference documentation for grid system

Hello,

we know that the grid system of Akeneo is based on the Oro platform, but it could be fine to have our own documentation with all available options and what they mean.

Mickaël

Improve the deployment of technical documentation

What do we need to do:

  • Make the copyrights property dynamic (remove a sed instruction) (#567)
  • Make the version dynamic (#569)
  • Make html_context['versions'] dynamic (#570)
  • Add composer.json into styleguide folder to install the right dependencies (#571)
  • Remove the complete installation of a PIM from deploy to testing (travis) (#572)
  • Add Makefile file with option to deploy one, multiple or all git branches (try parallelism) depends on others pull requests
  • Update actual deployment script to use the Makefile

create-connector - The job "dummy_job" is not registered

could someone double-check that the notes at https://docs.akeneo.com/latest/cookbook/import_export/create-connector.html work with latest release (1.6) cause when i'm ready to do the https://docs.akeneo.com/latest/cookbook/import_export/create-connector.html#create-a-job-instance step, i get:

vagrant@akeneo:~/akeneo$ ./app/console akeneo:batch:create-job 'Dummy Connector' dummy_job export my_job_instance



  [Akeneo\Component\Batch\Job\UndefinedJobException]
  The job "dummy_job" is not registered



akeneo:batch:create-job <connector> <job> <type> <code> [<config>] [<label>]


vagrant@akeneo:~/akeneo$

i guess on the symfony side everything is working as expected:

vagrant@akeneo:~/akeneo$ ./app/console config:dump-reference | grep Acme
  AcmeDummyConnectorBundle
vagrant@akeneo:~/akeneo$
  • how do we debug why job "dummy_job" is not registered?
  • is this a symfony or akeneo feature?
  • where are the docs for this feature?

ps. would be nice if this dummy connector was in a git repo, would save a lot of confusion...

Reference Data Documentation is not up to date

When going throught the docs there is references to classes that don't exist anymore...

It would be better to actually delete them then leave them as they are, it's confusing for anyone trying to migrate more then helpful.

Attibute types listing

Akeneo PIM has built in attribute data types. But there is no information about it in the docs section.

We may add built in attributes data types list with explanations how to use them in imports and customized installation. Todays newcomers have to browse source code to find right attribute data types and how to use them.

Documentation branch 1.2 has such page but it disappeared in the future versions.

  • pim_catalog_identifier
  • pim_catalog_text
  • pim_catalog_number
  • pim_catalog_boolean
  • pim_catalog_price_collection
  • etc

Each type in list may be linked to dedicated page with further information (like form types listing in symfony book).

Add note explanation about user group 'All' in customize_installer section

This docs enhancement was born during this discussion.

According to @nidup group 'All':

The group "all" never appears in the user management UI, neither in group list, neither in user edit, it's a system group added for any users created in the PIM. cf http://demo.akeneo.com/#url=/user/group

It's mainly used in Enterprise Edition to grant permissions to any users and appears in "permissions" tabs of "locale", "attribute", "category", etc (in the Enterprise Edition only).

As I think many new comers will have problem during custom installation trying to translate user group 'All' with others groups. And we have to add note about it in the customize_installer section.

Create a Custom Step on 1.7 Cookbook is outdated.

I've used this Custom Step Notification cookbook on previews version to upgrade my bundle to 1.6 and now I need to upgrade for 1.7 I've noticed that this documentation Create-Custom-Step is outdated.

Specifically the way it implements the form that still using the FormConfigurationProviderInterface.

Document about akeneo command lines

Hello,

I would like to contribute to the documentation with a list of available commands in akeneo with description, arguments and specific options.

Only akeneo, pim and pimee commands are concerned.

Are you interested about it?

Regards,

Benjamin

Document missing commands from ProductAsset and RuleEngine bundles [EE]

Hello,

I've been noticed that a lot of commands are not documented right now. I think we can do something with that, maybe with 1 or 2 cookbooks introducing a task to do and how theses commands can help.

We are talking about these commands:

  • pim:asset:generate-missing-variation-files
  • pim:asset:generate-variation-files-from-reference
  • pim:asset:generate-variation-file
  • akeneo:rule:run
  • others from RuleEngine bundle?

Cannot install documentation on my system

It seems that my system has to much fresh packages: python 3 with sphinx 1.6.2.

This results in errors when trying to deploy the documentation:

  • on 1.5 and 1.6:
    Could not import extension sensio.sphinx.configurationblock (exception: cannot import name 'upper')
    
  • on 1.7: pim:installer:assets is failing…

Possibly missing PHP extension in System Requirements

Hello,
I run in to some problems when trying to preview an uploaded image (an image attribute in a product). The image previews was not rendered, as the request return a 500 Internal Server Error. Looking through the logs I found this entry

[2017-04-24 11:48:52] request.CRITICAL: Uncaught PHP Exception
Imagine\Exception\NotSupportedException: "PHP exif extension is required to use the 
ExifMetadataReader" at /akeneo/vendor/imagine/imagine/lib/Imagine/Image/Metadata
/ExifMetadataReader.php line 25 {"exception":"[object] (Imagine\\Exception\\NotSupportedException(code:
 0): PHP exif extension is required to use the ExifMetadataReader at /akeneo/vendor/imagine/imagine
/lib/Imagine/Image/Metadata/ExifMetadataReader.php:25)"} []

Based on the following: "PHP exif extension is required to use the ExifMetadataReader" it was pretty clear that I needed to install exif 🙂 . However, that extension is not listed in the PHP required modules and configuration section of the system requirements document.

I'm a bit uncertain if this is the right way to go, as I'm currently seeing a different exception

request.CRITICAL: Uncaught PHP Exception Imagine\Exception\RuntimeException: 
"call_user_func_array() expects parameter 1 to be a valid callback, function 'imagejpeg' not found or 
invalid function name" at /akeneo/vendor/imagine/imagine/lib/Imagine/Gd/Image.php line 697
 {"exception":"[object] (Imagine\\Exception\\RuntimeException(code: 2):call_user_func_array() expects 
parameter 1 to be a valid callback, function 'imagejpeg' not found or invalid function name at /akeneo
/vendor/imagine/imagine/lib/Imagine/Gd/Image.php:697, ErrorException(code: 0): call_user_func_array() 
expects parameter 1 to be a valid callback, function 'imagejpeg' not found or invalid function name at 
/akeneo/vendor/imagine/imagine/lib/Imagine/Gd/Image.php:580)"} []

Which I'm currently trying to solve with the help of @gplanchat (on slack):

on EE you also need imagemagick package, I can’t remember if it is required in CE too

That has not resolved my problems, but it might very well be that I'm missing some other system package that is required.

No mention of database configuration

Expected a mean to provide akeneo with database information in https://github.com/akeneo/pim-docs/blob/1.7/developer_guide/installation/installation_archive.rst.inc but nothing found.

Problem

Command pim:install fails with

Prepare database schema (driver: doctrine/orm)
Database does not exist yet
Could not create database for connection named `akeneo_pim`
SQLSTATE[HY000] [1045] Access denied for user 'akeneo_pim'@'localhost' (using password: YES)
The command terminated with an error code: 1.

                                                 
  [Exception]                                    
  The command terminated with an error code: 1.                                             

Solution

For those running into the same issue, a quick grep reveals

root@ebd12080e6b1:/var/www/pim-community-standard# grep -R "akeneo_pim" app/config/
app/config/pim_parameters.yml:    # mongodb_database: akeneo_pim
app/config/parameters.yml:    database_name: akeneo_pim
app/config/parameters.yml:    database_user: akeneo_pim
app/config/parameters.yml:    database_password: akeneo_pim
app/config/parameters.yml.dist:    database_name:     akeneo_pim
app/config/parameters.yml.dist:    database_user:     akeneo_pim
app/config/parameters.yml.dist:    database_password: akeneo_pim

Modify your parameters.yml as appropriate and make sure you refresh the cache after you do so php5.6 app/console cache:clear --env=prod

Document Reference Data: the big plan

Incorrect docs for creating a menu item

The page - https://docs.akeneo.com/latest/design_pim/guides/how_to_customize_menu.html is outdated/incorrect.

  1. in the sources, the form extensions declarations are under an extensions: element level
  2. the files are located in Resources/config/form_extensions/, not Resources/form_extension/ (under a configdirectory, and plural on extension)
  3. if the route name doesn’t start with pim_, the HTTP request is not sent (wut?)
  4. root menu elements require a iconModifier config item

cc: @gplanchat

Cookbook: product xml import outdated

According to CHANGELOG 1.7 implementations of Pim\Bundle\ImportExportBundle\JobParameters\FormConfigurationProviderInterface; were removed and there is no such interface in code base anymore, means interface itself was removed too. But it is still used in master https://docs.akeneo.com/master/cookbook/import_export/product-import-from-xml-file.html and 1.7 version of same page.

[Cookbook] CSV formats, attribute data structure

I'm requesting enhancement

Story

Attribute data structure page was introduced and updated recently by @fitn and merged in branches by @juliensnz

As @jmleroux mentioned during commit conversation: it was created for current stable 1.5 branch.

I

After merging PR we got the same page version for master. But as I mentioned during conversation its information must be updated according to pim-community-dev master branch to correspond to the structure we have i.e.:

  • type
  • allowed_extensions
  • available_locales
  • code
  • date_max
  • date_min
  • decimals_allowed
  • default_metric_unit
  • group
  • label-locale
  • localizable
  • max_characters
  • max_file_size
  • metric_family
  • minimum_input_length
  • negative_allowed
  • number_max
  • number_min
  • reference_data_name
  • scopable
  • unique
  • useable_as_grid_filter
  • validation_regexp
  • validation_rule
  • wysiwyg_enabled

II

Currently I'm trying to finish Product information page see #295 and issue #267 , that describes how all product related data is kept and organized in PIM. And there is topic about product attribute types and table describing native attribute types, and as i see now this table is pretty close to that on Attribute data structure page. To make documentation clearer we need to avoid duplication and decide where is the place for attributes native types listing table. Anyway I don't think that page describing attribute data structure must contain information about attribute types at least in that part related to next PIM version tech doc, and the reason it is located there is because there was no dedicated page describing attribute types.

Now as i found updated Import/Export documentation in master I will update my PR for Product Information page with note-references to import/export pages apart for each product related entity described.

Task

  • Update Attribute data structure page on master to the actual master structure as in issue description above;
  • Avoid content duplication: to decide where is the best place for attribute types listing table and remove duplication.

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.