ZurbSeaside

Description

A Seaside implementation of the Zurb CSS framework.

Details

Source
GitHub
Stars
2
Forks
1
Created
March 17, 2018
Updated
Feb. 16, 2022

Categories

Web

README excerpt

# ZurbSeaside

This is a Seaside Smalltalk implementation of the  Zurb Foundation framework at  https://foundation.zurb.com/sites

The demos provide the Smalltalk/Seaside  source code for each example.

The source code provides fast ramp up of new websites using Seaside and Zurb.

I am considering moving the JQuery stub examples into their own application.k




This app is being developed with OpenResty nginx doing a proxy-pass to Seaside.


An example nginx file is:

worker_processes  1;
error_log logs/error.log;
events {
    worker_connections 1024;
}
http {
    include    mime.types;
    upstream database {
       postgres_server 127.0.0.1 dbname=[REDACTED] user=[REDACTED] password=[REDACTED];
    }
    server {
        listen 80;
        server_name [YOUR IP HERE];

        location / {
            root  [PATH TO YOUR ZURB FOUNDATION FILES]/public_html/zurb;
            default_type text/html;

        }
        location /css {
            root  [PATH TO YOUR ZURB FOUNDATION FILES]/public_html/zurb;
            default_type text/css;
            add_header Content-Type: text/css;
        }

        location /js {
            root  [PATH TO YOUR ZURB FOUNDATION FILES]/public_html/zurb;
            default_type application/javascript;
            add_header Content-Type: application/javascript;
        }
        location /images {
            root  [PATH TO YOUR ZURB FOUNDATION FILES]/public_html/zurb;
            default_type  image/svg+xml;
            add_header Content-Type: image/svg+xml;
        }

        location /dude {
            echo "uri=$uri";
            echo "request_uri=$request_uri";
            echo "name: $arg_name";
        }

        location /SeasideDock {
            proxy_pass http://127.0.0.1:8080;
            include       mime.types;
        }

        location /zurb {
            proxy_pass http://127.0.0.1:8080;
        }
        location /zurbhack {
            proxy_pass http://127.0.0.1:8080;
        }

        location /browse {
            proxy_pass http://127.0.0.1:8080;
        }
        location /config {
            proxy_pass http://127.0.0.1:8080;
        }
    }
}



← Back to results