@humblebee/humblebee-starter

1.0.84 • Public • Published

humblebee-starter

This project gives the user the ability to instantiate a new project based on humblebee-frontend anywhere (globally) on their system.

The project creates a "base" on your computer which will serve the raw files that get instantiated.

Prerequisites

  • Node (includes NPM and NPX) version 10.9.0 or later
  • Yarn version 1.9.4 or later
  • Maybe: Make sure you are logged in to NPM in your Command Line Interface (CLI) by running npm login first; otherwise you may not be able to fetch the package

Installation

  • Clone/download the repository from Bitbucket
  • Navigate to the repository folder
  • Run yarn setup to install the Starter, which should become accessible through the terminal/shell via humblebee [projectType] [projectName]
  • Restart the terminal/CLI/IDE before attempting to run the starter

Commands

  • Create a frontend or backend project with humblebee [fe|frontend|be|backend] [projectName]

Creating a new project

  • Start your Command Line Interface (CLI), such as Terminal or iTerm, or even Sublime/VS Code... as those contain a built-in terminal
  • Run humblebee [fe] [be] projectname where projectname is whatever you want the project to be called
  • In your current working directory, you should now see a new folder with your specified name
  • Navigate into the new project directory and have fun

The name you specify will also be set inside of the package.json for that project.

Front-end specific

Make sure, however, to update manifest.webmanifest, index.html and other client-facing locations to have the pertinent, correct information for your project.

Troubleshooting

  • Try restarting your terminal, CLI or IDE.
  • Because all the files that get created are really just copied from a base location, make sure that you didn't forget to install the dependencies (run yarn).
  • Make sure you haven't erased the humblebee-starter project or moved it since running the yarn setup command, since this is where the installation will grab files from.

Possible coming features

  • Flags and options? (commander package?)
  • Guided CLI? (prompts package?)
  • Update boilerplate? (something like humblebee update?)
  • If above, new syntax for creating project (humblebee new NAME) or even something other than humblebee?

Readme

Keywords

none

Package Sidebar

Install

npm i @humblebee/humblebee-starter

Weekly Downloads

0

Version

1.0.84

License

MIT

Unpacked Size

18.1 kB

Total Files

10

Last publish

Collaborators

  • humblebee-admin
  • humblebee-hive
  • flosch