Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Standardized Readme, Add LICENSE #53

Merged
2 commits merged into from
Sep 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably license articles included in this repo too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CC @jbenet

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't MIT just for software?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, so for now we can say that articles are all rights reserved, but I don't know how it would work with people contributing to blog posts.


Copyright (c) 2016 Protocol Labs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
73 changes: 55 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,47 @@
# IPFS Blog

This is the source repository for the [IPFS Blog](http://ipfs.io/blog).
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

> Source for the [IPFS Blog](http://ipfs.io/blog)

![](https://www.evernote.com/l/AMaEbN3YfmVC-JDtlxRdFnMMbfvQjQlmU9MB/image.png)

#### Please Review [PIPELINE.md](./PIPELINE.md) to understand how this repo pipeline works.

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Creating a Post](#creating-a-post)
- [Live editing](#live-editing)
- [Theme](#theme)
- [Publishing Post](#publishing-post)
- [Editing](#editing)
- [Publishing](#publishing)
- [Contribute](#contribute)
- [Want to hack on IPFS?](#want-to-hack-on-ipfs)
- [License](#license)

## Editing

1. [install node + npm](http://iojs.org) and required modules
## Install

```sh
npm install
```
1. [Install node + npm](http://iojs.org) and required modules.

2. run build
```sh
npm install
```

```sh
node build.js
```
2. Run build.

```sh
node build.js
```

## Usage

### Creating a Post

Expand Down Expand Up @@ -47,11 +70,19 @@ make build

This should setup a server. For now, it screws up the styling because the styles are pulled from ipfs directly. (FIXME, should put the styles in the build dir.) Just kill it when you're ready to publish

### Publishing Post
### Theme

The layouts follow [the example viewer](https://github.com/ipfs/examples/tree/master/webapps/example-viewer). Modify the files inside

```
tmpl/
```

## Publishing Post

How to publish the blog on IPFS.io
How to publish the blog on IPFS.io.

#### Editing
### Editing

1. Make a change to a file
2. Add and commit.
Expand All @@ -64,7 +95,7 @@ How to publish the blog on IPFS.io
7. Get it merged following review from _another_ member.
8. `$ git checkout master && git pull origin master`

#### Publishing
### Publishing

7. `$ ipfs daemon`
8. `$ make publish`
Expand All @@ -79,10 +110,16 @@ How to publish the blog on IPFS.io

You will need access to DigitalOcean for this to work. You will then need to use the token. This will take a few minutes for DNS to propogate.

### Theme
## Contribute

The layouts follow [the example viewer](https://github.com/ipfs/examples/tree/master/webapps/example-viewer). Modify the files inside
Feel free to join in! PRs and [issues](https://github.com/ipfs/blog/issues) are welcome.

```
tmpl/
```
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).

### Want to hack on IPFS?

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)

## License

© Protocol Labs | Code is licensed with the [MIT](LICENSE) License. Except as noted, other content licensed [CC-BY 3.0](https://creativecommons.org/licenses/by/3.0/us/).