Giter Site home page Giter Site logo

utopian's Introduction

Utopian

Quicklisp dist

The caveman in offering the first garland to his maiden thereby transcended the brute. He became a utopian in thus rising above the crude necessities of nature. He entered the realm of art when he perceived the subtle use of the useless. -- Okakura Tenshin, "The Book of Tea"

3 steps to write a better web application:

  1. Choose the right language.
  2. Choose the right web framework.
  3. Write less.

Utopian is a web application framework for encouraging rapid web development.

Requirements

Getting started

Installation

$ ros install fukamachi/utopian
$ ros install qlot

Ensure ~/.roswell/bin is in your shell $PATH.

Creating a new project

To generate the project skeleton, open a terminal and execute this command:

$ utopian new blog

# With PostgreSQL
$ utopian new blog --database postgres

Installing dependencies

$ qlot install
$ npm install

Setting database

The project includes the database settings at config/environments/development.lisp. Configure it and run this command:

$ qlot exec quicklisp/bin/lake db:create

Starting a server

$ qlot exec quicklisp/bin/lake server

Generating a new controller

$ utopian generate controller welcome index
writing controllers/welcome.lisp
writing views/welcome/index.html
writing assets/stylesheets/welcome/index.scss

Generating a new model

$ utopian generate model user name:varchar:20 email:varchar:255
writing models/user.lisp

Run qlot exec quicklisp/bin/lake db:generate-migrations after this for generating a migration file and apply it with qlot exec quicklisp/bin/lake db:migrate.

Deployment

$ APP_ENV=production clackup app.lisp --server woo --port 8080

See Also

Author

Copyright

Copyright (c) 2016-2017 Eitaro Fukamachi

License

Licensed under the LLGPL License.

utopian's People

Contributors

fukamachi avatar t-cool avatar

Watchers

SANO,Masatoshi avatar James Cloos avatar  avatar

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.