-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
50 lines (29 loc) · 1.15 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Welcome to Filepaste
Filepaste is a tool to share files in- or outside your companie.
It is like a multiuser clipboard for your data.
Filepaste is written with rails, so it is easy to setup.
INSTALLATION:
- Rails:
If Rails does not comes with your distribution, try to install
it with gems:
sudo gem install rails --include-dependencies
sudo gem update --system
- Filepaste
If not already done, download Filepaste:
git clone git://github.com/puzzle/filepaste.git
Now edit the database configuration, rails need to know where to
store the data :
cd filepaste
vim config/database.yml
The following link may help you with the database setup:
http://www.jumbabox.com/2008/06/ruby-on-rails-database-setup-tutorial/
Now we create the database:
rake db:create:all
And populate it:
rake db:migrate:all
Now we need to do some configuration for the authentication over LDAP:
vim config/settings.yml
- Start the Server
To simply test Filepaste, go to the base directory and run the following
command to start the mongrel server:
mongrel_rails start --port 8080 --address 127.0.0.1 --environment development