Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.
/ qx-mojo-app Public archive

Template for a Qooxdoo Web Application with Mojolicious Backend

Notifications You must be signed in to change notification settings

oetiker/qx-mojo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This has been superseeded by Mojolicious Automake!

Qooxdoo&Mojolicious App Generator

Build Status Coverage Status

A Mojolicious generator template for creating JavaScript web applications.

With qx-mojo-app you can create web apps with a server part written in Perl and a client part written in JavaScript using the Qooxdoo framework.

The app comes complete with an automake configure system, ready for distribution.

Quickstart

The following was tested on a fresh xubuntu 12.04 and 14.04 x64


# --------------------
# install dependencies
# --------------------
sudo apt-get install curl
sudo apt-get install automake

# -----------
# get qooxdoo
# -----------
cd
mkdir sdk
cd sdk
wget http://downloads.sourceforge.net/qooxdoo/qooxdoo-4.0.1-sdk.zip
unzip qooxdoo-4.0.1-sdk.zip

# -----------------------------------
# install mojo, set env, generate app
# -----------------------------------
PREFIX=$HOME/opt/mojolicious
export PERL_CPANM_HOME=$PREFIX
export PERL_CPANM_OPT="--local-lib $PREFIX"
export PERL5LIB=$PREFIX/lib/perl5
export PATH=$PREFIX/bin:$PATH
curl -L cpanmin.us \
  | perl - -n https://github.com/oetiker/qx-mojo-app/archive/master.tar.gz

# --------
# make app
# --------
mkdir -p ~/src
cd ~/src
mojo generate qx_mojo_app Demo
cd demo

# ..continue reading README in demo/ (see below)

Et voilà, you are looking at your first Qooxdoo/Mojolicious app. Have a look at the README in the demo directory for further instructions.

Enjoy

Tobi Oetiker [email protected]