简体   繁体   中英

Deployed strapi on heroku server unable to add content

I have used postgres as database on heroku server when im trying to use content types builder or trying to add collection it says in to auto reload as strapi develop but i dono how to do it server after deployment

When Strapi is deployed on heroku, it is run with production flag - and adding collection is disabled.

The workflow should be

  • Run strapi on local server

    npm run develop

  • Create Content Types using Builder

  • Add newly created files and Commit change in local git repository

  • Push changes to heroku using this command.

    git push -u heroku master

You should see your collections on heroku.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM