-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
todo:: * driver compiler * testing framework (web based) * monitor the drivers folder for changes (trigger spec runs etc)
- Loading branch information
Showing
4 changed files
with
4 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ lib | |
app | ||
*.dwarf | ||
bin | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,5 @@ | ||
# Spider-Gazelle Application Template | ||
# Crystal Engine Drivers | ||
|
||
[](https://travis-ci.org/spider-gazelle/spider-gazelle) | ||
[](https://travis-ci.org/aca-labs/crystal-engine-drivers) | ||
|
||
Clone this repository to start building your own spider-gazelle based application | ||
|
||
## Documentation | ||
|
||
Detailed documentation and guides available: https://spider-gazelle.net/ | ||
|
||
* [Action Controller](https://github.com/spider-gazelle/action-controller) base class for building [Controllers](http://guides.rubyonrails.org/action_controller_overview.html) | ||
* [Active Model](https://github.com/spider-gazelle/active-model) base class for building [ORMs](https://en.wikipedia.org/wiki/Object-relational_mapping) | ||
* [Habitat](https://github.com/luckyframework/habitat) configuration and settings for Crystal projects | ||
* [router.cr](https://github.com/tbrand/router.cr) base request handling | ||
* [Radix](https://github.com/luislavena/radix) Radix Tree implementation for request routing | ||
* [HTTP::Server](https://crystal-lang.org/api/latest/HTTP/Server.html) built-in Crystal Lang HTTP server | ||
* Request | ||
* Response | ||
* Cookies | ||
* Headers | ||
* Params etc | ||
|
||
|
||
Spider-Gazelle builds on the amazing performance of **router.cr** [here](https://github.com/tbrand/which_is_the_fastest).:rocket: | ||
|
||
|
||
## Testing | ||
|
||
`crystal spec` | ||
|
||
* to run in development mode `crystal ./src/app.cr` | ||
|
||
## Compiling | ||
|
||
`crystal build ./src/app.cr` | ||
|
||
### Deploying | ||
|
||
Once compiled you are left with a binary `./app` | ||
|
||
* for help `./app --help` | ||
* viewing routes `./app --routes` | ||
* run on a different port or host `./app -b 0.0.0.0 -p 80` | ||
Manages and tests engine drivers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters