Liza is a light, experimental framework primarily developed to help study the Ruby language and the Ruby ecosystem.
Install the gem by executing:
gem install lizarb
You will get the following three shims:
lizarb version
liza version
So you can run your experiments:
liza new
Then enter your automagically generated liza app:
cd app_1
bundle install
Now you're ready to go and try some stuff!
Try Liza with an interactive prompt
liza dev
Run your Liza tests
liza test
Try Liza and build an ASCII game
liza happy axo
Try Liza to connect with Sqlite and Redis
liza net
NetBox.clients.get :sqlite
NetBox.clients.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';"
Try Liza with the Rack Web Server
liza rack
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
Try Liza with the Rack Web Server
liza request get /
liza request post /
liza request get /xxxxxxx
liza request get /api/xxxxxxx
liza request get /api/auth/sign_up
liza request get /api/auth/sign_in
liza request get /api/auth/account
liza request get /api/auth/sign_out
liza request get /assets/app.css
liza request get /assets/app.js
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
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.
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.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Lizarb project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.