Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running make install #27

Open
alitonia opened this issue Jun 29, 2021 · 0 comments
Open

Error running make install #27

alitonia opened this issue Jun 29, 2021 · 0 comments

Comments

@alitonia
Copy link

alitonia commented Jun 29, 2021

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;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant