https://github.com/johnantoni/famous-hello
famous hello world example with framework
https://github.com/johnantoni/famous-hello
Last synced: over 1 year ago
JSON representation
famous hello world example with framework
- Host: GitHub
- URL: https://github.com/johnantoni/famous-hello
- Owner: johnantoni
- Created: 2015-06-23T13:49:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-24T06:55:05.000Z (about 11 years ago)
- Last Synced: 2025-02-05T19:09:09.716Z (over 1 year ago)
- Language: JavaScript
- Size: 426 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# johnantoni:famous-typewriter
A Famous Framework component
- - - -
## Setup
First install the required packages:
$ npm install
This step will also copy some core Famous components (e.g. `famous:core:node` and `famous:events` into your project's directory.)
Then start up the local development server:
$ npm run dev
Then surf to [localhost:1618](http://localhost:1618) ...
## Deploying
Note: Before you can deploy your component, you must...
1.) Register for a Famous Hub account (`$ famous register`). You can skip this step if you've already done it before. If you aren't sure, check for a `.famous/.config` file in your home directory.
2.) Be working with a component whose namespace matches your username. I.e. if your component is `jon-doe:my-component`, then your username must be `jon-doe` exactly for the push to succeed.
Once you have this all set up, you are ready to deploy to a container!
First, save a snapshot of the desired component to deploy:
$ npm run snapshot-component -- -n jon-doe:my-component
Then, use the Famous CLI to push to a container:
$ famous deploy public/jon-doe:my-component