Skip to content

omics-datascience/omicsdatascience-site-new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Omicsdatascience Website

Requirements

Docker volumes to be used in the docker-compose.yml must be created:

docker volume create --name=omicsdatascience_site_wordpress
docker volume create --name=omicsdatascience_site_db

Steps to run Wordpress locally

IMPORTANT: read the docker-compose_local.yml file and comment/uncomment the corresponding lines to use the correct image.

  1. Clone the repository
  2. Run Docker compose with the docker-compose_local.yml file docker-compose -f docker-compose_local.yml up -d
  3. Once you have all the changes you need, make a Duplicator dump.

Steps to migrate the site to a new server

The following steps are for recovering a backup of a site on any server.

  1. Create a package using the Duplicator plugin. (You can use this backup functional from production)
  2. Download the installer.php files and the .zip file of the Duplicator package inside the website folder.
  3. Start an instance with our image docker compose up -d
  4. Install package with Duplicator by accessing the URL where the Docker container was launched with the suffix /installer.php. E.g.: 127.0.0.1:8080/installer.php and following the instructions.
  5. Use Better Search and Replace to change everything that is http://[IP:VPS port] to https://omicsdatascience.org
  6. Change the WP_DEBUG variable to false to put the site into production.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published