Spouse program website using Composer, Docker, Stonehenge and deployed to Wodby.
Env | Branch | URL |
---|---|---|
development | * | https://spouse.docker.sh/ |
testing | development | http://spouse-test.druid.fi |
production | master | http://spouseprogram.fi |
You need to have these applications installed to operate on all environments:
For the first time:
$ make fresh
Docker container has wp-cli installed.
To export or import database after the environment has been set up:
- Get latest version of the database and set it in the same folder with the wordpress installation. You can get a database dump from Wodby
- Go inside docker container: make shell.
- Inside the container, go to the root of wordpress installation
- Use the wp-cli to import or export database: wp db import db-dump.sql
- Use "wp search-replace" "old.env.url.fi" "spouse.docker.sh" or whatever the local address is.
Login page: https://spouse.docker.sh/wp-admin
Ready! Now go to https://spouse.docker.sh to see your site.
To compile sass go the theme folder and run:
gulp watch