lut-foo

0.0.17 • Public • Published

For full documentation please see our official docs. We try hard to keep them up-to-date and as clear as possible!

Full-stack mobile app platform

Building your app on Lūt is the best way to publish full-stack mobile apps in minutes!

  • Access to device hardware with our Device API.
  • Serverless push notifications
  • Real-time reporting
  • Monetize through advertising, in-app purchases, etc.
  • Compile cross-platform apps with lut-foo

Learn more at lutunlimited.com.

Cloud Compiler (Command-line)

You compile your app with the Lūt cloud compiler. The lut-foo command-line tool is available on npm, requires node.js, and is system-independent.

Install lut-foo

The lut-foo npm package is a command-line utility to build your app with the Lūt cloud compiler. First, install node.js, the server-side javascript platform. This should have included npm, the node.js package manager. Use npm to install the lut-foo package globally. From a command-line:

Unixen:
$ sudo npm install lut-foo -g

Windows (as administrator):
C:\> npm install lut-foo -g

create a free account

Use lut-foo to create your account and verify your email.

Unixen:
$ lut-foo register youremail@domain.ninja

Windows (as administrator):
C:\> lut-foo register youremail@domain.ninja

Retrieve the verification code from your email, then use it to call register again.

Unixen:
$ lut-foo register somecrazylongregistrationcode

Windows (as administrator):
C:\> lut-foo register somecrazylongregistrationcode

On success, the response will be your secret. Save this as you'll need to use it in your config.json file.

lut-foo usage

Follow a few simple steps to build your app with lut-foo:

  1. Create a new directory for your project (e.g. /apps/myBestApp) and cd into it.
  2. Run lut-foo once without any arguments to step through creating your config.json file.
  3. Place the rest of your project files in your project directory.
  4. Run lut-foo again to build your app on Lūt's cloud compiler.

lut-foo accepts 0 or 1 arguments. If invoked with 0 arguments, lut-foo checks for the presence of config.json in your current working directory; if found, it behaves as if you had called lut-foo build, otherwise it behaves as if you had called lut-foo init. If invoked with 1 argument, lut-foo takes one of the following verbs as an argument:

build Submit the project in your current working directory to Lūt's cloud compiler, save the resulting packaged app locally.

init Create a config.json file.

register Register or confirm an email address as your clientID to use Lūt's cloud compiler. You can also request a new secret by following the same process as you did when registering. The register verb requires one argument:

  • email If invoked with an email address, Lūt sends a confirmation key to the given email address. Invoke register a second time with this key to receive your secret.
  • confirmation key If invoked with a confirmation key you received by email, register returns your secret.
Unixen:
user@machine /apps/myBestApp $ lut-foo init
user@machine /apps/myBestApp $ lut-foo build

Windows:
C:\apps\myBestApp\> lut-foo init
C:\apps\myBestApp\> lut-foo build

Please see our official docs for details on the required files and format of the config.json file

Example app

Learn more with the included example app. Find it in the demo/ directory. We're already hosting the app content, so everything you need to compile the example app for android devices is included. Find the app on Google Play store.

Dependents (0)

Package Sidebar

Install

npm i lut-foo

Weekly Downloads

1

Version

0.0.17

License

GPL-3.0+

Last publish

Collaborators

  • lutunlimited