mirror of https://github.com/perkeep/perkeep.git
41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
===
|
|
Instructions for getting the Camlistore build to work on Mac OS X.
|
|
|
|
* Install binaries
|
|
- Mercurial: http://mercurial.selenic.com/downloads/
|
|
- Git: http://code.google.com/p/git-osx-installer/downloads
|
|
- MySQL: http://dev.mysql.com/downloads/mysql/
|
|
echo 'export PATH=$PATH:/usr/local/mysql/bin' >> ~/.bash_profile
|
|
mysqladmin -u root password root
|
|
|
|
* Setup Go
|
|
- Get the code: hg clone -u release https://go.googlecode.com/hg/ ~/go
|
|
- Build it:
|
|
cd ~/go/src; ./all.bash
|
|
- Fix your environment:
|
|
echo 'export GOROOT=/Users/$USER/go/' >> ~/.bash_profile
|
|
echo 'export PATH=/Users/$USER/go/bin:$PATH' >> ~/.bash_profile
|
|
|
|
* Setup Camlistore
|
|
- Get the code: git clone https://camlistore.org/r/p/camlistore ~/camlistore
|
|
- Run it:
|
|
cd ~/camlistore; ./dev-server
|
|
- Upload a file (make sure this works):
|
|
~/camlistore/dev-camput file ~/camlistore/COPYING
|
|
- Create a permanode:
|
|
~/camlistore/dev-camput permanode
|
|
- Use the UI: http://localhost:3179/ui/
|
|
|
|
* App Engine for Go
|
|
- Get the dev_appserver: http://code.google.com/p/googleappengine/downloads/list
|
|
- Run it:
|
|
~/google_appengine/dev_appserver.py -a `hostname` --high_replication server/go/appengine/
|
|
- Uplaod a file:
|
|
./dev-camput --blobserver=localhost:8080/bs --password=foo file COPYING
|
|
|
|
* Hack on it
|
|
- TextMate bundle: https://github.com/AlanQuatermain/go-tmbundle
|
|
- Go to Preferences -> Advanced -> Folder References -> File Pattern
|
|
- Add: "|_go_\.6" without quotes before the $ to prevent the object files from creeping in
|
|
- Learn how to contribute: http://camlistore.org/docs/contributing
|