Giter Site home page Giter Site logo

cli's People

Contributors

antoniostipic avatar flauc avatar makijs avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

cli's Issues

Ask for IAM Service Account Credentials API

Creating web hosting

When creating a static or blog app from jms init we should also either automatically configure a new firebase site (if possible through the cli) called [project-id]-web or we should ask the user to configure it before moving forward.

Ask for basic theme adjustments

When setting up a new jms project let's ask the user to make basic theme adjustments. The six things that come to mind.

  1. Change primary theme color
  2. Change accent theme color
  3. Change logo
  4. Change favicon
  5. Ask for sidebar position
  6. In the background we should automatically change the email background color and logo.

JMS: Prompt for creating initial admin user

We need to ask for creating an initial user. This needs to happen at the very last step after function deployment so that all the right things trigger.

  1. What email address do you want to use?
  2. What password do you want to use?

Prompt to deploy functions

This is particularly useful because of how we have automated deployment configured to only trigger functions for files that changed initial deployment doesn't trigger functions and this has to happen manually every time

Setting up blog or static set up ghtoken

When setting up blog or static with jms init we need instruct the user to set up github personal access token and ask for it. Then we need to add it to firebase config under ghtoken.

Prompt to deploy Firebase Functions

Upon successful execution of setup (Step Run Setup script?), prompt once again with Do you want to run initial deploy of Firebase Functions?.
If true, using fs enter directory {projectName}/functions and run:

  • npm i
  • npm run deploy

Edit package.json

In jms init we should replace all of the jms references in package.json with the projects references.
Additionally we should ask if releases are necessary (default to no) and remove all of that if it isn't needed.

Prompt to Enable Billing on Firebase Project

Error: HTTP Error: 400, Billing account for project 'projectId' is not found. Billing must be enabled for activation of service(s) 'cloudbuild.googleapis.com,containerregistry.googleapis.com' to proceed.

Command for generating Module

jaspero jms generate module

With predefined templates like:

  • blank (just exported object with typings and empty schema, layout, definitions)
  • full (including many examples)

cool but not too useful (more for docs):

  • user (basic user fields)
  • blog

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.