![]() If this is data not created by strapi then I don’t think it will be with be part of the rest response etc, so it might be worth export with csv etc then use import tools to map the correct data values. Now following the guides you should be able to connect to your local running PostgresQL server and import data. ![]() When running in development, I just do yarn develop in the project to start the strapi development server. Note you need to change the NODE_ENV here, but if omitted on a server it will fallback to production If you want to run strapi in production mode you can also do docker-compose up -d -build this will start both services, and build the strapi project for development. ![]() You can then use docker-compose up -d strapiDB to run the PostgreSQL in the background. ![]() env Dockerfile docker-compose.yml files using the above. Install strapi globally, using npm or yarn (Personally using yarn).RUN yarn config set network-timeout 600000 -g Before you can connect the MySQL server container with the host, you need to make sure the MySQL client package is installed: apt-get install mysql-client. Here is how I use to set up and run my server locally using yarn and PostgreSQL Step 3: Connect to the MySQL Docker Container. Though if that is not your flavour there is plenty of free tools like pgAdmin This should give you the ability to dump it to your local machine, Currently and personally on a mac so I use something like TablePlus to dump and import again on the local machine. Hi I would say that what you can do for this is to follow the docs here
0 Comments
Leave a Reply. |