Saltar a contenido

GenericSuite Scripts for Frontend Development

GenericSuite Scripts (frontend version) is a suite of features to enhance the ReactJS App development process.

This repository contains the frontend scripts necessary to build and deploy ReactJS Apps made by GenericSuite (frontend version) and GenericSuite AI (frontend version).

Features

  • Development and Production Scripts: Quick commands to start development or build your application for QA, staging production environments on AWS.
  • AWS Deployment: Deployment to AWS as Cloudfront website with S3 bucket.
  • Local Development Environment: running with http or https, with or without Docker.
  • Common JSON config management: to add the Git Submodule with the common JSON config directories.

Getting Started

To get started with GenericSuite Scripts (frontend version), follow these steps:

Install the GenericSuite Frontend Scripts

npm init
npm install -D genericsuite-fe-scripts

Prepare the Makefile

Copy the Makefile template from node_modules/genericsuite-fe-scripts:

cp node_modules/genericsuite-fe-scripts/Makefile ./Makefile

Initiate your project

Check The GenericSuite Getting Started guide for more details.

Usage

Start Development Server

To start the development server:

make run

Do the first build

make build

Deploy to QA, Staging, Demo and Production environments

Check the Deployment Guide for details.