Flick is a Rails development platform to generate, develop and deploy web applications and microservices. (Ruby, Ruby on Rails, Postgres, etc.)
MIT License
Flick is a Rails development platform to generate, develop and deploy web applications and microservices. (Ruby, Ruby on Rails, Postgres, etc.)
bundle install
rake db:create
bin/rails db:migrate RAILS_ENV=development
bin/rails db:seed RAILS_ENV=development
chmod +x scripts/*.bash
./scripts/install-hooks.bash
brew install overmind
(for MacOS users)overmind start
brew services start postgresql
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgres start
rubocop
for Ruby lint.rubocop -a
for fixed some issues automatically.reek .
for analyzing code.brakeman
for static analysis and for security vulnerabilities.rails_best_practices .
in root app directory. Helps to find unused methods, missing indexes into database tables and many other things.To annotate all your models, tests, fixtures, and factories:
cd /path/to/app
annotate
To annotate just your models, tests, and factories:
annotate --exclude fixtures
To annotate just your models:
annotate --exclude tests,fixtures,factories,serializers
To annotate routes.rb:
annotate --routes
To remove model/test/fixture/factory/serializer annotations:
annotate --delete
To remove routes.rb annotations:
annotate --routes --delete
To automatically annotate every time you run db:migrate, either run rails g annotate:install or add Annotate.load_tasks to your Rakefile
. See the configuration in Rails section for more info.
Doc for deployment is here.