Skip to content

rubyonrails-brasil/app_org_lizarb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liza

Liza is a light, experimental framework primarily developed to help study the Ruby language and the Ruby ecosystem.

Install

Install the gem by executing:

$ gem install lizarb

You will get the following three shims:

$ lizarb version
$ liza version

Try

Try Liza with an interactive prompt

$ liza dev

Running Tests

Run your Liza tests

$ liza test

Happy

Try Liza and build an ASCII game

$ liza happy axo

Networking

Try Liza to connect with Sqlite and Redis

$ liza net
NetBox.adapters.get :sqlite
NetBox.adapters.get :redis_url

NetBox.databases.sql
NetBox.databases.sqlite
NetBox.databases.redis

RedisDb.current
SqliteDb.current

RedisDb.current.call "TIME"
SqliteDb.current.call "SELECT name, sql FROM sqlite_master WHERE type = 'table';"

Web Server

Try Liza with the Rack Web Server

$ liza web

http://localhost:3000/

http://localhost:3000/xxxxxxx

http://localhost:3000/api/xxxxxxx

http://localhost:3000/api/auth/sign_up

http://localhost:3000/api/auth/sign_in

http://localhost:3000/api/auth/account

http://localhost:3000/api/auth/sign_out

http://localhost:3000/assets/app.css

http://localhost:3000/assets/app.js

Usage

TODO: Write usage instructions here

Development

To install dependencies, run this bash script:

$ bin/setup

For development experiments, use the local executable script

$ exe/lizarb test

To build and install lizarb in your local machine

$ bundle exec rake install

Release

To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubyonrails-brasil/lizarb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Lizarb project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages