This is the source code used for the http://www.whaledisentanglement.org/ site. The same code is used for all three subdomains (media, hawaii-alaska, and west-coast). This is a mysql, php, nginx, wordpress site. It has one custom plugin 'users-only-access'. This plugin prevents non logged-in users from accessing images in the uploads folder. The other plugins are from a 3rd party.
- Download the source.
- Install habitat,
curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | bash
- Install direnv. Or source the
.envrc
file. - Enter habitat studio,
hab studio enter
- Then run
start
- The goto localhost:8080
- From the studio run
mysql_load_data <data.sql>
- Copy 'upload' folder to
/hab/svc/whaledisentanglement/data/wp-content
- Run
to_http
in the studio