Skip to content

Volcano-Risk-Reduction-in-Canada/chis-website-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIS Website Preview

This git repository contains an NGINX + PHP Docker Compose application which allows easy editing and live-previewing a local copy of the CHIS website.

It also uses a GitHub Actions workflow to generate a staging preview of proposed changes to the CHIS website, hosted on GitHub Pages, to facilitate collaboration and review. It is publicly accessible at https://volcano-risk-reduction-in-canada.github.io/chis-website-preview/.

Examples:

Acknowledgement of Docker PHP nginx setup

https://blog.devsense.com/2019/php-nginx-docker

with caveat: extra space needed to be removed from PHP section of docker-compose.yml:

volumes:
  - ./data/:/var/www/html/
    - ./logs/php.log:/var/log/fpm-php.www.log
volumes:
  - ./data/:/var/www/html/
  - ./logs/php.log:/var/log/fpm-php.www.log

Troubleshooting (TODO)

Podman gives this error:

failed to write to /proc/self/oom_score_adj: Permission denied

See:

About

Preview of proposed changes to CHIS website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published