dasch-swiss / beol

Bernoulli-Euler OnLine
https://beol.dasch.swiss
GNU Affero General Public License v3.0
0 stars 1 forks source link

Document how to serve a build locally #68

Open tobiasschweizer opened 5 years ago

tobiasschweizer commented 5 years ago

https://gist.github.com/netpoetica/5879685

nginx installation with brew (on Mac)

/usr/local/etc/nginx/servers/beol.conf

     server {
            listen 8090;
            server_name beol.local;
            root /../dist/beol;

            location / {
                     try_files $uri $uri/ /index.html;
            }

        access_log /usr/local/etc/nginx/logs/beol.local.access.log;
    }

create an empty logfile

/etc/hosts

127.0.0.1   beol.local