git clone https://github.com/cosmicjs/simple-blog
cd simple-blog
yarn
Get your Bucket slug and read key after logging in to Cosmic JS and going to Bucket > Settings > API Keys.
COSMIC_BUCKET=your-bucket-slug COSMIC_READ_KEY=your-bucket-read-key yarn run development
COSMIC_BUCKET=your-bucket-slug COSMIC_READ_KEY=your-bucket-read-key yarn start
Open http://localhost:3000.
You can easily manage the content in your Simple Blog website on Cosmic JS. Follow these steps:
- Log in to Cosmic JS.
- Create a Bucket. Choose Start from App.
- Install the Simple Blog Website.
A popular choice for the Node.js web deployment is Now. Follow the steps below from the root directiory.
npm i -g now
now
Cosmic JS makes a great Node.js CMS for your Node.js apps.