Skip to content

workhorsylegacy/spacepony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# On the server you will need to install the database and web server:
# get the code
sudo apt-get instal bzr
cd ~
bzr branch lp:spacepony
cd spacepony/server

# Update the database configuration to have the user and password
gedit config/database.yml

# setup the server
rake rails:update
sudo apt-get install mysql-server mysql-client ruby ruby-dev rake rubygems rails
sudo gem install rails mysql ezcrypto mongrel
rake db:create:all
rake db:migrate

# Setup the firewall
sudo ufw enable
sudo ufw allow 3000
sudo /etc/init.d/ufw restart

# run the server
# change the binding to the server's ip address
ruby script/server --binding=192.168.1.101



# On the client you will need to install dependencies, patched tomboy, and run the script:

# Remove your existing tomboy
sudo apt-get remove tomboy

# Download tomboy source, uncompress it, patch it, build, and install
sudo apt-get install intltool mono-gmcs mono-devel libgtk2.0-dev
cd ~
wget http://download.gnome.org/sources/tomboy/1.0/tomboy-1.0.0.tar.gz
tar -xzvf tomboy-1.0.0.tar.gz
wget http://workhorsy.org/junk/create_named_note_with_uri_diff.patch
patch -p0 < create_named_note_with_uri_diff.patch
cd tomboy-1.0.0
./configure
make
sudo make install

# Run updatedb so dbus can find the tomboy service file
sudo updatedb

# get the code
sudo apt-get install bzr python-pyinotify python-notify
cd ~
bzr branch lp:spacepony
cd spacepony

# install pyActiveResource
cd client/pyactiveresource/src
sudo python setup.py install
cd ../src/

# In the file client/spacepony/src/client.py, update the server socket with the ip address and port
SERVER_SOCKET = "192.168.1.101:3000"

# Make sure pidgin and tomboy are running on the client
# Make sure you have backed up your tomboy and pidgin settings

# Run the clieny
python client.py


Releases

No releases published

Packages

No packages published