System Information
-
Strapi Version: 3.5.1
-
Operating System: windows 10
-
Database: SQLite development, postqresql production
-
Node Version: 14.16.0
-
NPM Version: 6.14.11
-
Yarn Version: 1.22.10
Please I need your help. I used the strapi CMS, also implementing the PostgreSQL database on production. Tried hosting the CMS on Heroku. But I use windows so when I get to the config settings for MY_HEROKU_URL, windows is unable to recognize grep and cut so I get stuck there.
I used the --quickstart when creating strapi.
What’s the solution to this?
From what provider are you deploying then? Directly from Windows?
Wouldnt it be more logical to deploy from github or gitbucket?
I followed the documentation found on the strap site. Here’s the link, Heroku Deployment - Strapi Developer Documentation
The issue is at step 5. The config set
Could you check if grep is installed as a node package via Strapi’s package.json?
If not, maybe you’d need to install it globally in npm
Another option is to follow this guide
Thats the guide i used to create a deploy ready repository. It doesnt use grep, nor does it sync a local postgress db, but i just start with a deployed strapi instance on Heroku, populate it and while working in my frontend, get the content from the production enviroment.
Thank you very much. I would follow this procedure.