desviar 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -3
- data/desviar.gemspec +1 -1
- data/{desviar.rb → lib/desviar.rb} +5 -5
- data/lib/version.rb +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -19,14 +19,16 @@ troubleshooting, you can store content in a file.
|
|
19
19
|
|
20
20
|
#### Installation ####
|
21
21
|
|
22
|
+
These directions have been tested on Ubuntu 12.10 and OpenSUSE 12.3.
|
23
|
+
|
22
24
|
##### From github #####
|
23
|
-
Clone this repo,
|
24
|
-
perform the following:
|
25
|
+
Clone this repo, cd into its top-level directory, and perform the following:
|
25
26
|
|
26
27
|
sudo apt-get install rack make libsqlite3-dev
|
27
28
|
# package names above may differ if not using Ubuntu
|
28
29
|
sudo gem install bundler
|
29
30
|
sudo bundle install
|
31
|
+
cp config/config.rb.example config/config.rb
|
30
32
|
rackup -p 4567
|
31
33
|
|
32
34
|
Default credential of [app](http://localhost:4567) is user _desviar_, pw _password_. Consider moving the default database location from /dev/shm/desviar, and set its permissions to 0600.
|
@@ -34,9 +36,12 @@ Default credential of [app](http://localhost:4567) is user _desviar_, pw _passwo
|
|
34
36
|
##### From rubygems.org #####
|
35
37
|
Invoke the following:
|
36
38
|
|
37
|
-
sudo apt-get install make libsqlite3-dev
|
39
|
+
sudo apt-get install make libsqlite3-dev ruby-dev
|
38
40
|
gem install desviar
|
39
41
|
wget https://raw.github.com/instantlinux/desviar/master/config.ru
|
42
|
+
wget https://raw.github.com/instantlinux/desviar/master/config/config.rb.example
|
43
|
+
cp config.rb.example config.rb
|
44
|
+
export DESVIAR_CONFIG=`pwd`/config.rb
|
40
45
|
rackup -p 4567
|
41
46
|
|
42
47
|
You can modify config.ru to direct log output to a different file.
|
data/desviar.gemspec
CHANGED
@@ -26,13 +26,13 @@ require 'rack/recaptcha'
|
|
26
26
|
if ENV['DESVIAR_CONFIG']
|
27
27
|
require ENV['DESVIAR_CONFIG']
|
28
28
|
else
|
29
|
-
require File.expand_path '
|
29
|
+
require File.expand_path '../../config/config', __FILE__
|
30
30
|
end
|
31
|
-
require File.expand_path '../
|
32
|
-
require File.expand_path '../
|
33
|
-
require File.expand_path '../
|
31
|
+
require File.expand_path '../version', __FILE__
|
32
|
+
require File.expand_path '../encrypt', __FILE__
|
33
|
+
require File.expand_path '../model', __FILE__
|
34
34
|
# Auth parsing is work-in-progress
|
35
|
-
# require File.expand_path '../
|
35
|
+
# require File.expand_path '../auth', __FILE__
|
36
36
|
|
37
37
|
module Desviar
|
38
38
|
class Authorized < Sinatra::Base
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: desviar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -190,9 +190,9 @@ files:
|
|
190
190
|
- config.ru
|
191
191
|
- config/config.rb.example
|
192
192
|
- desviar.gemspec
|
193
|
-
- desviar.rb
|
194
193
|
- lib/auth.rb
|
195
194
|
- lib/authorization.rb
|
195
|
+
- lib/desviar.rb
|
196
196
|
- lib/encrypt.rb
|
197
197
|
- lib/model.rb
|
198
198
|
- lib/version.rb
|
@@ -207,7 +207,7 @@ files:
|
|
207
207
|
homepage: http://github.com/instantlinux/desviar
|
208
208
|
licenses: []
|
209
209
|
post_install_message: ! "------------------------------------------------------------------------------\nDesviar
|
210
|
-
v0.0.
|
210
|
+
v0.0.11\n\nTo configure, download from:\n https://raw.github.com/instantlinux/desviar/master/config/config.rb.example\ninto
|
211
211
|
a new file config.rb and export DESVIAR_CONFIG=<path>/config.rb.\n\nThanks for using
|
212
212
|
Desviar.\n------------------------------------------------------------------------------\n"
|
213
213
|
rdoc_options: []
|