Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  app
  config
  db
  lib
  MIT-LICENSE
  README.md
  Rakefile
Size: Mime:
  README.md

PortalToolkit

Scripts and tools to build and support Neoteric style portal projects.

Installation

Add this line to your application's Gemfile:

gem 'portal_toolkit'

New project setup

This gem provides several tools to help jumpstart new portal projects

Rails 6.1

rails _6.1.4.1_ new APPNAME --skip-webpack-install --skip-turbolinks

Rails 7

# TBD

bin/rails generate portal_toolkit:jumpstart

Takes a bare Rails project and applies various configs, adds our commonly used gems, sets up CI, testing, and other things we universally use for Rails projects.

bin/rails generate portal_toolkit:jumpstart_tailwind

Sets adds and sets up TailwindCSS through webpacker

bin/rails generate portal_toolkit:jumsptart_portal

Applies a basic portal application skeleton. Admin/User/Public namespaces and layouts.

bin/rails generate portal_toolkit:jumpstart_api

Applies the basic groundwork for a JSON API

Resource Generation

Generate a model, along with an admin namespace CRUD UI for it

bin/rails generate portal_toolkit:resource MODEL_NAME --fields attribute_one attribute_two:integer