Welcome to your new gem!
REQUIRES RUBY > 2.3.0
-> Ruby install tutorial
Download falcon gem: falcon_factory.
install it yourself as:
$ gem install falcon_factory-0.0.1.gem
This is the Falcon server generator.
infos:
app_name: 'Great-App'
models:
user: #<--------- `user` is the model name -------->
name: string
email: string
phone_number: string
birth_date: date #<--------- `birth_date` is the property name --------> `date` is the property type.
friend: has_many #<--------- `friend` is the name of another model --------> `has_many` is the name of the relation point
friend:
user: belongs_to #<--------- `user` is the name of another model --------> `belongs_to` is the name of the relation point
friend: belongs_to => user #<--------- `friend` is the property name --------> `belongs_to` is the name of the relation point --------> `user` is the relation destination model
preference:
user: belongs_to
bidget: float
This model represent this DB
2. run falcon_factory generate -m your_falcon_schema_file.yml -t existent_folder_to_save_de_server
. This will generate a falcon.sh script witch will create you server
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run 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 tags, and push the .gem
file to falconframework.com/falcon_factory.