Skip to content

opencomponents/get-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

45 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Starter Kit

Greenkeeper badge

Get up and running with OpenComponents in 3 simple steps.
๐Ÿ’ This guide relies on Heroku for its deploy, if you wish to rely on Now instead, click here.

Before starting make sure you have:

  • An account on Heroku
  • An S3 bucket on AWS

#1 - Deploy the OpenComponents registry to Heroku

Click the button below and follow the instructions.

Deploy

#2 - Build your first component

Install the OpenComponents CLI

$ npm install -g oc

Create your first component:

$ oc init my-first-component

Develop/Test locally by starting a local dev registry

$ oc dev . 3030

Your component will be available at:

#3 Publish the component to the registry

Add the registry using the CLI:

$ oc registry add http://my-registry.on.herokuapp.com/

Publish your component

$ oc publish my-first-component --username=YOURVALUEHERE --password=YOURVALUEHERE

Your component is now published ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰ !

You can consume it here: http://my-registry.on.herokuapp.com/my-first-component

About

๐Ÿ”ฐ โšก๏ธ ๐Ÿ‘Ÿ Get started with OpenComponents in 3 simple steps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •