makuhari-city / new-rousseau-machine_gen1

https://vote.metacity.jp/app/
4 stars 0 forks source link

New Rousseau Machine (Gen1)

To get started

  1. Download the repository

    git clone https://github.com/makuhari-city/new-rousseau-machine_gen1.git --recursive

    if you forgot to add "--recursive" option while cloning repositoy, just 'make setup' after cloning.

  2. Locate SSL certificate. Create an SSL certificate, rewrite the destination directory path into docker-compose.yml, and uncomment and rewrite the file name into proxy/conf.d/default.conf.

docker-compose.yml:

volumes:
    - ../ssl/cert:/etc/nginx/ssl

proxy/conf.d/default.conf:

listen 443 ssl;
ssl_certificate     /etc/nginx/ssl/metacity.jp.crt;
ssl_certificate_key /etc/nginx/ssl/metacity.jp.key;

To update system

make update

To start system

make start

To stop system

make stop

To test system (connection test only)

make test