Skip to content

Error running make install #27

@alitonia

Description

@alitonia

Issue

When I first clone this project in mac and run make install, there are 2 errors when it starts to run seosnap-dashboard/dev/commands/install.sh:

  • Error with cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c50 because tr can't process special characters from /dev/urandom
  • sed error because flag -i isn't provided with backup extension.

Proposed solution

  • Change the secret gen to head /dev/urandom | base64 | tr -dc 'a-zA-Z0-9' | head -c50
  • Add backup extension (ex: sed -i "s/snaptron$/${ADMIN_NAME:-snaptron}/g" .env; to sed -i.bak "s/snaptron$/${ADMIN_NAME:-snaptron}/g" .env;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions