mirror of https://github.com/perkeep/perkeep.git
Docs: Setup the Camli build on a Mac
Change-Id: Idb334589314983e0d9f0d6ecedc64469aa303ede
This commit is contained in:
parent
da562c8bed
commit
b093c814d3
|
@ -0,0 +1,40 @@
|
|||
===
|
||||
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 (which needs GPG keys):
|
||||
~/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
|
Loading…
Reference in New Issue