Skip to content
Snippets Groups Projects
handle_assets.md 640 B
Newer Older
  • Learn to ignore specific revisions
  • Bastien DUMONT's avatar
    Bastien DUMONT committed
    # Handle assets
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    This section will allow you to import the assets used in the newsletter from Ecolyo
    
    Rémi PAILHAREY's avatar
    Rémi PAILHAREY committed
    
    ## Import assets
    
    
    In the rec or prod server, in the folder `scripts`, there is the following script, named [`import-convert-assets.sh`](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/backoffice-client/-/blob/dev/scripts/import-convert-assets.sh).
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    To import assets for the ecogesture images, run it
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    ```sh
    
    sudo sh import-convert-assets.sh
    
    Check that a "image-lib" folder has been created, that it contains a "ecogesture" folder and some PNG images and that the owner of the "image-lib" folder is the user id 1000.