Skip to content

Commit

Permalink
Fixed to url parser and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
christkv committed Sep 17, 2014
1 parent 075aeeb commit 0440630
Show file tree
Hide file tree
Showing 7 changed files with 491 additions and 261 deletions.
67 changes: 4 additions & 63 deletions docs/content/meta/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,69 +10,10 @@ menu:
title: License
weight: 50
---
## Licensed Under Apache License 2.0

Hugo is released under the Simple Public License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

## Simple Public License (SimPL-2.0)
http://www.apache.org/licenses/LICENSE-2.0

### Preamble

This Simple Public License 2.0 (SimPL-2.0 for short) is a plain language
implementation of GPL 2.0. The words are different, but the goal is the
same - to guarantee for all users the freedom to share and change
software. If anyone wonders about the meaning of the SimPL, they should
interpret it as consistent with GPL 2.0.


## Simple Public License (SimPL) 2.0

The SimPL applies to the software's source and object code and comes
with any rights that I have in it (other than trademarks). You agree to
the SimPL by copying, distributing, or making a derivative work of the
software.

You get the royalty free right to:

- Use the software for any purpose;
- Make derivative works of it (this is called a "Derived Work");
- Copy and distribute it and any Derived Work.

If you distribute the software or a Derived Work, you must give back to
the community by:

- Prominently noting the date of any changes you make;
- Leaving other people's copyright notices, warranty disclaimers, and
license terms in place;
- Providing the source code, build scripts, installation scripts, and
interface definitions in a form that is easy to get and best to
modify;
- Licensing it to everyone under SimPL, or substantially similar terms
(such as GPL 2.0), without adding further restrictions to the rights
provided;
- Conspicuously announcing that it is available under that license.

There are some things that you must shoulder:

- You get NO WARRANTIES. None of any kind;
- If the software damages you in any way, you may only recover direct
damages up to the amount you paid for it (that is zero if you did
not pay anything). You may not recover any other damages, including
those called "consequential damages." (The state or country where
you live may not allow you to limit your liability in this way, so
this may not apply to you);

The SimPL continues perpetually, except that your license rights end
automatically if:

- You do not abide by the "give back to the community" terms (your
licensees get to keep their rights if they abide);
- Anyone prevents you from distributing the software under the terms
of the SimPL.

## License for the License

You may do anything that you want with the SimPL text; it's a license
form to use in any way that you find helpful. To avoid confusion,
however, if you change the terms in any way then you may not call your
license the Simple Public License or the SimPL (but feel free to
acknowledge that your license is "based on the Simple Public License").
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
25 changes: 0 additions & 25 deletions docs/content/meta/roadmap.md

This file was deleted.

48 changes: 27 additions & 21 deletions docs/content/overview/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,40 @@ weight: 15

Installing the MongoDB Node.js driver using NPM is very easy. First you need to ensure you have Node.js and NPM correctly set up and in your path. Installing the driver is as easy as.

npm install mongodb
```js
npm install mongodb
```

## Installing MongoDB Node.js driver as part of your project

Setting up the Node.js driver for your project is a simple as adding it to the **package.json** dependencies section. An example **package.json** file is shown below.

{
"name": "myproject",
"version": "1.0.0",
"description": "My first project",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/christkv/myfirstproject.git"
},
"dependencies": {
"mongodb": "~2.0"
},
"author": "Christian Kvalheim",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/christkv/myfirstproject/issues"
},
"homepage": "https://github.com/christkv/myfirstproject"
}
```json
{
"name": "myproject",
"version": "1.0.0",
"description": "My first project",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/christkv/myfirstproject.git"
},
"dependencies": {
"mongodb": "~2.0"
},
"author": "Christian Kvalheim",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/christkv/myfirstproject/issues"
},
"homepage": "https://github.com/christkv/myfirstproject"
}
```

To install the dependency all you need is to open a shell or command line, move to the directory where the package.json file is located and type.

npm install
```js
npm install
```

This will download all the dependencies.
Loading

0 comments on commit 0440630

Please sign in to comment.