Project

appgen

0.0
No commit activity in last 3 years
No release in over 3 years
Rails prototyping is fast, appgen intends to make it even faster!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
>= 0
~> 10.0
 Project Readme

Appgen

Rails prototyping is fast, appgen intends to make it even faster! Describe your app in a text file, then run appgen.

Gem Version Code Climate

Installation

Install the gem:

$ gem install appgen

Usage

Run

$ appgen

By default appgen will run the first text file in the current directory. If you want to use a specific file, then do

$ appgen a_specific_file.txt

Or you can work with an online file

$ appgen https://raw.githubusercontent.com/arnaudlevy/appgen/master/examples/blogdemo.txt

Writing app descriptions

Here is the rails blog demonstration as appgen description:

The app name is blogdemo.
There are posts.
A post has a title, a text (as text), a user, and comments.
There are users.
A user has a name.
There are comments.
A comment has a user.

Some more descriptions in examples. Feel free to contribute with yours!

Possible roadmap

Ideas about possible features. Right now, i just feel it goes too far.

Hosting

And if you want to host it on heroku, just add:

The app is hosted on heroku.

It will attempt to set the remote heroku host. If the app does not exist, it will attempt to create it.

If the heroku app name is different from the app name, use:

The app is hosted on heroku, by the name of blogdemo.

If you want the app to be created in Europe, use:

The app is hosted on heroku in Europe.

Components used

The app generated use these gems by default

  • pg
  • simple_form
  • bootstrap
  • kaminari

Features

  • make default route to first entity described
  • add attachments (paperclip, aws)
  • add navigation (simple-navigation)
  • add breadcrumb (breadcrumbs_on_rails)
  • add admin (with bootstrap theme, admin namespace, navigation)
  • add login (devise)

References

Development

After checking out the repo, run bin/setup to install dependencies. 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 rubygems.org.

Contributing

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

Code of Conduct

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