https://github.com/cosmicjs/simple-blog
A simple blog website powered by Node.js and Cosmic JS
https://github.com/cosmicjs/simple-blog
Last synced: 9 days ago
JSON representation
A simple blog website powered by Node.js and Cosmic JS
- Host: GitHub
- URL: https://github.com/cosmicjs/simple-blog
- Owner: cosmicjs
- License: mit
- Created: 2017-04-18T19:14:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T18:20:38.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T10:32:03.253Z (12 months ago)
- Language: HTML
- Homepage: https://cosmicjs.com/apps/simple-blog
- Size: 231 KB
- Stars: 67
- Watchers: 6
- Forks: 27
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Blog

### [View Demo](https://cosmicjs.com/apps/simple-blog/demo)
### Getting Started
```
git clone https://github.com/cosmicjs/simple-blog
cd simple-blog
yarn
```
#### Config!
Get your Bucket slug and read key after [logging in to Cosmic JS](https://cosmicjs.com/login) and going to Bucket > Settings > API Keys.
#### Run in development
```
COSMIC_BUCKET=your-bucket-slug COSMIC_READ_KEY=your-bucket-read-key yarn run development
```
#### Run in production
```
COSMIC_BUCKET=your-bucket-slug COSMIC_READ_KEY=your-bucket-read-key yarn start
```
Open [http://localhost:3000](http://localhost:3000).
### Node.js + Cosmic JS
You can easily manage the content in your Simple Blog website on Cosmic JS. Follow these steps:
1. [Log in to Cosmic JS](https://cosmicjs.com).
2. Create a Bucket. Choose Start from App.
3. Install the [Simple Blog Website](https://cosmicjs.com/apps/simple-blog).
## Deploy
A popular choice for the Node.js web deployment is [Now](https://zeit.co/). Follow the steps below from the root directiory.
```
npm i -g now
now
```
Cosmic JS makes a great [Node.js CMS](https://cosmicjs.com/knowledge-base/nodejs-cms) for your Node.js apps.