Skip to content

BE BETTER EVERY DAY, TRAIN LIKE A WARRIOR AND LEAD THE WAY TO EXCELLENCE.

License

Notifications You must be signed in to change notification settings

leads1llc/leads1llc

Repository files navigation

leads1llc

Getting Started

To getting started you must copy dev.env to .env.

Mysql Unsafe Configuration

Run first docker mysql and change security password method.

  1. Run docker mysql container.
docker compose up -d mysql
  1. Edit mysql password method.
ALTER USER 'strapi'@'%' IDENTIFIED WITH mysql_native_password BY 'strapi';

And finally run all the containers.

Run Remix + Strapi Containers

docker compose up -d web core

The program expose ports 3000 for Remix and Strapi 1337

How to make a backup

  1. Connect to core container
docker compose exec core bash
  1. Then, use strapi export command and set a security password
yarn strapi export
  1. Copy the export file into the server.
docker compose cp core:/app/export_<date>.tar.gz.enc .
  1. Copy remotetly the backup to your machine
scp root@<server-ip>://root/leads1llc/export_<date>.tar.gz.enc .
  1. You should copy the backup using mv the backup to packages/core is the same that used docker cp
mv export_<date>.tar.gz.enc packages/core/
  1. Import the backup
yarn strapi import -f export_<date>.tar.gz.enc

About

BE BETTER EVERY DAY, TRAIN LIKE A WARRIOR AND LEAD THE WAY TO EXCELLENCE.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published