Skip to content

Commit 8f93893

Browse files
committed
Restructure docs, add basic contribution guide
1 parent ef95708 commit 8f93893

File tree

4 files changed

+44
-32
lines changed

4 files changed

+44
-32
lines changed

README.md

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
1-
# Exoframe (beta)
1+
# Exoframe
22

3-
> Power armor for docker containers
3+
> Simple Docker deployment tool
44
55
[![Build Status](https://travis-ci.org/exoframejs/exoframe.svg?branch=master)](https://travis-ci.org/exoframejs/exoframe)
66
[![Coverage Status](https://coveralls.io/repos/github/exoframejs/exoframe/badge.svg?branch=master)](https://coveralls.io/github/exoframejs/exoframe?branch=master)
77
[![npm](https://img.shields.io/npm/v/exoframe.svg?maxAge=2592000)](https://www.npmjs.com/package/exoframe)
88
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://opensource.org/licenses/MIT)
99

10-
[![asciicast](https://asciinema.org/a/129255.png)](https://asciinema.org/a/129255)
11-
12-
## How it works
13-
14-
Exoframe intends to do all the heavy lifting required to build and deploy web services for you.
15-
Exoframe uses [Docker](https://www.docker.com/) to deploy your project and [Traefik](https://traefik.io/) to proxy them to requested domain and/or paths.
16-
All the configuration of your projects happens automatically. So after running the command, the only thing you need to do is wait a few seconds until your files have been built or deployed!
10+
Exoframe is a self-hosted tool that allows simple one-command deployments using Docker.
1711

18-
Currently, Exoframe understands and can deploy the following project types:
12+
## Demo
1913

20-
1. Static html based projects - will be deployed using [nginx](http://hub.docker.com/_/nginx) image
21-
2. Node.js based projects - will be deployed using [Node:latest](https://hub.docker.com/_/node) image
22-
3. Docker based project - will be deployed using your [Dockerfile](https://docs.docker.com/engine/reference/builder/)
23-
4. Docker-Compose based project - will be deployed using your [docker-compose](https://docs.docker.com/compose/compose-file/) file
24-
25-
To run Exoframe you need two parts - Exoframe CLI on your local machine and [Exoframe server](https://github.com/exoframejs/exoframe-server) on your server with Docker.
14+
[![asciicast](https://asciinema.org/a/129255.png)](https://asciinema.org/a/129255)
2615

2716
## Installation and Usage
2817

29-
You can use one of the pre-packaged binaries from [releases](https://github.com/exoframejs/exoframe/releases).
30-
Or if you have Node installed, you can install Exoframe CLI using NPM (needs at least Node 8.0):
18+
To run Exoframe you will need two parts - Exoframe CLI and [Exoframe server](https://github.com/exoframejs/exoframe-server).
19+
For server install instructions see [Exoframe server repository](https://github.com/exoframejs/exoframe-server).
20+
21+
To install Exoframe CLI you can either download one of the pre-packaged binaries from [releases page](https://github.com/exoframejs/exoframe/releases) or install it using npm (needs at least Node 8.x):
3122

3223
```
3324
npm install exoframe -g
@@ -45,7 +36,7 @@ Then login using:
4536
exoframe login
4637
```
4738

48-
Then deploy your project by simply running:
39+
Then you will be able to deploy your projects by simply running:
4940

5041
```
5142
exoframe
@@ -55,16 +46,7 @@ You can find a list of all commands and options in the [docs](./docs/README.md).
5546

5647
## Docs
5748

58-
You can find project documentation [here](./docs/README.md).
59-
60-
## Contribute
61-
62-
1. Fork this repository to your own GitHub account and then clone it to your local device.
63-
2. Uninstall exoframe if it's already installed: `npm uninstall exoframe -g`
64-
3. Link it to the global module directory: `npm link`
65-
4. Transpile the source code and watch for changes: `npm start`
66-
67-
Now can use the `exoframe` command everywhere.
49+
You can find project documentation in the [docs folder](./docs/README.md).
6850

6951
## License
7052

docs/Basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ It is recommended to run Exoframe on a server with at least 1GB of RAM.
2525
| deploy [path] | Deploy specified path |
2626
| config | Generate or update project config for current path |
2727
| list | List currently deployed projects |
28-
| rm [id] | Remove existing deployment or project |
29-
| log [id] | Get logs for existing deployment or project |
28+
| rm <id> | Remove existing deployment or project |
29+
| log <id> | Get logs for existing deployment or project |
3030
| token [ls|rm] | Generate, list or remove deployment tokens |
3131
| login | Login into Exoframe server |
3232
| endpoint [url] | Selects or adds the endpoint of Exoframe server |
3333
| rm-endpoint [url] | Removes an existing endpoint of Exoframe server |
34-
| update [target] | Gets current versions or updates given target |
34+
| update [target] | Gets current versions or updates given target (server | traefik | all) |
3535
| completion | Generates bash completion script |
3636

3737
## Project config file

docs/Contributing.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## I want to contribute
2+
3+
Awesome! All contributions are welcome.
4+
If you want to add new feature or implement a significant change that hasn't been discussed yet - please _open an issue first_!
5+
6+
## How to send pull requests
7+
8+
1. Fork this repository to your own GitHub account
9+
2. Create new branch that is named accordingly to the issue you are working on (e.g. `feature/new-thing` or `fix/bug-name`)
10+
3. Make sure tests are passing (if you are adding new feature - add tests to cover basics of that feature)
11+
4. Make sure your branch is up to date with `develop` branch
12+
5. Open pull request towards `develop` branch
13+
6. Wait for feedback
14+
15+
## How to run Exoframe CLI locally
16+
17+
1. Fork this repository to your own GitHub account and then clone it to your local device.
18+
2. Uninstall exoframe if it's already installed: `npm uninstall exoframe -g`
19+
3. Link it to the global module directory: `npm link`
20+
21+
Now can use the `exoframe` command everywhere.

docs/FAQ.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
# FAQ
22

3+
### Is it ready for production?
4+
5+
Yes. We've been using it to deploy our project since May 2017 without any issues.
6+
37
### Why do I need to enter username during login?
48

59
Username is just your ID that is used to distinguish your deployments from others.
610
Right now you have to enter it yourself. And you will only see deployments done with that username.
711
Currently, more than one user can use same username (so, all users with that username will see same deployments).
812

13+
### How does it work?
14+
15+
Exoframe uses [Docker](https://www.docker.com/) to deploy your project and [Traefik](https://traefik.io/) to proxy requested domains and/or paths to deployed projects.
16+
All the Docker configuration of your projects happens automatically. So after running the command, the only thing you need to do is wait a few seconds until your project have been built and deployed!
17+
918
### What kind of projects can I deploy with Exoframe?
1019

1120
Currently, Exoframe understands and can deploy the following project types:

0 commit comments

Comments
 (0)