Getting started
Create your first core.io application in 4 simple steps.
Even if you are new to Node.js this will be easy.
Installing dependencies
In order to install core.io, you’ll first need to install Node.js. Node is supported on most major operating systems, including MacOS X, Windows, and many flavors of Linux.
The website has pre-built installers for plenty of platforms, so you can just hop on over to the downloads section of nodejs.org and choose the one that’ll work for you.
Install core.io
Use npm to install core.io:
$ npm install -g core.io-cli
This will install core.io-cli and make the core command available in your terminal. To verify it was installed correctly, if you type “core” in your terminal you should see a similar help output:
$ core —-help
core.io CLI tool
Usage:
core help Show this message
core --version Print out the latest released version of core
core install [template] Download and install a [template] from github.
core new [project-name] Create a new project
Example:
core new myProject Create a new project
version:
1.0.0
Create new project
To generate a new app, just cd into the directory where you want it to be, and type:
$ core new myProject
The generator will create a new folder for your application in your current directory, set up an empty project and download all the necessary dependencies.
Run
Run your project by typing:
$ cd ./myProject && npm run
The generator will create a new folder for your application in your current directory, set up an empty project and download all the necessary dependencies.
What next?
Here are a few resources that will help get you acquainted with developing on core.io: