Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/donrestarone/juliaongenie

a quick test drive of the Genie web framework.
https://github.com/donrestarone/juliaongenie

Last synced: 11 days ago
JSON representation

a quick test drive of the Genie web framework.

Awesome Lists containing this project

README

        

# JuliaOnGenie
a quick test drive of the Genie web framework.

##### Table of Contents

[Bootstrapping a new app](#bootstrap)

[Installation](#install)

[Troubleshooting](#troubleshooting)

## Bootstrapping a new app

to install Genie: Jump to the Julia REPL and load the Pkg REPEL (REPL in a REPL-- I know) by pressing "]"
``` bash
julia
$pkg> add Genie
```

to create a new app with the generator
``` bash
julia
$julia> using Genie
$julia> Genie.newapp("HelloWorld")
```

to start the Genie server
```bash
bin/repl
$julia> up()
```

add database support
```bash
$julia> Genie.Generator.db_support()
```

generate controller
```bash
$julia> Genie.newcontroller("Tasks")
```