Giter VIP home page Giter VIP logo

weblocks-examples's Introduction

These are example applications for Weblocks. Originally these examples were in Weblocks repository and then moved out.

Weblocks Demo

A simple Weblocks demo, contains two editable related tables.

Weblocks CLSQL Demo

Similar to "Weblocks Demo", but uses CLSQL as database layer.

  • (ql:quickload :weblocks-clsql-demo)
  • Put correct auth data for mysql into weblocks-clsql-demo/conf/stores.lisp (for quicklisp usually .quicklisp/dists/quicklisp/software/weblocks-examples-.../weblocks-clsql-demo/conf/stores.lisp) There should be just access to empty database.
  • Again (ql:quickload :weblocks-clsql-demo)
  • (weblocks-clsql-demo:start-weblocks-clsql-demo)
  • Go to http://localhost:8080/ url

Weblocks Elephant Demo

Similar to "Weblocks Demo", but uses Elephant as database layer.

  • (ql:quickload :weblocks-elephant-demo)

  • Install Berkeley DB. For me it worked with libdb4.6 and libdb4.6-dev

  • Update elephant config. It is usually situated in .quicklisp/dists/quicklisp/software/elephant-.../my-config.sexp I've changed first 4 strings of my-config.sexp to

    (:COMPILER . :GCC) (:BERKELEY-DB-VERSION . "4.6")
    (:BERKELEY-DB-INCLUDE-DIR . "/usr/local/BerkeleyDB.4.6/include/")
    (:BERKELEY-DB-LIB-DIR . "/usr/local/BerkeleyDB.4.6/lib/")
    (:BERKELEY-DB-LIB . "/usr/local/BerkeleyDB.4.6/lib/libdb-4.6.so")
  • Create weblocks-elephant-demo/data (for quicklisp usually .quicklisp/dists/quicklisp/software/weblocks-examples-.../weblocks-elephant-demo/data)

  • (weblocks-elephant-demo:start-weblocks-elephant-demo)

  • Go to http://localhost:8080/weblocks-demo url

Simple Blog

A simple blog, contains two editable related tables with users, posts (admin interface), frontend for posts and Slava Akhmechet photo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.