How to deploy local environment to production

Hello,

You should use git for this and not create a new project. Because all the main code is stored in api folder on your local env. You actually just created a Blank project on the production and imported configs from local, but without the most important files.

No, config:restore has nothing to do with the actual models. It restores only the core_store table, which contains the configurations of your app. Check here the code for dump and restore to understand whats going on with these two commands.

1 Like