An open API service indexing awesome lists of open source software.

https://github.com/tinawebdev/wiki-sinatra

Wiki app made with Sinatra
https://github.com/tinawebdev/wiki-sinatra

ruby sinatra

Last synced: 11 months ago
JSON representation

Wiki app made with Sinatra

Awesome Lists containing this project

README

          

# wiki-sinatra

A wiki app made with Sinatra, a small light weight web framework written in Ruby.
Wiki pages can be created, edited, and deleted.

# How to use it

## Install Ruby
On linux, `apt-get install ruby` or `yum install ruby`. On OS X install Hombrew then `brew install ruby`.
On Windows use [RailsInstaller](http://railsinstaller.org/en).

## Check out the project

1. Open Terminal and change the current working directory to the location where you want the cloned directory to be made.
2. Download the repository using the [instruction](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository).
3. In the command line go to the directory with the files downloaded:
```
cd wiki-sinatra
```

## Install Bundler
```
gem install bundler
```

## Bundle the project
```
bundle
```

## Run the Server
```
ruby wiki.rb
```

## Visit the Server
http://localhost:4567