2013-06-11 11:14:05 +00:00
|
|
|
Camlistore contributors regularly use Linux and OS X, and both are
|
|
|
|
100% supported.
|
|
|
|
|
|
|
|
Developing on Windows is sometimes broken, but should work. Let us
|
|
|
|
know if we broke something, or we accidentally depend on some
|
|
|
|
Unix-specific build tool somewhere.
|
|
|
|
|
2013-06-11 14:02:32 +00:00
|
|
|
See http://camlistore.org/docs/contributing for information on how to
|
|
|
|
contribute to the project and submit patches. Notably, we use Gerrit
|
|
|
|
for code review. Our Gerrit instance is at https://camlistore.org/r/
|
2012-10-28 11:03:52 +00:00
|
|
|
|
2013-06-11 11:14:05 +00:00
|
|
|
See architecture docs: https://camlistore.org/docs/
|
|
|
|
|
|
|
|
You can view docs for Camlistore packages with local godoc, or
|
|
|
|
godoc.org.
|
|
|
|
|
|
|
|
It's recommended you use git to fetch the source code, rather than
|
|
|
|
hack from a Camlistore release's zip file:
|
|
|
|
|
|
|
|
$ git clone https://camlistore.org/r/p/camlistore
|
|
|
|
|
|
|
|
(We use github for distribution and collaboration with some people,
|
2013-07-02 16:35:51 +00:00
|
|
|
but the Gerrit git server & code review system is the main repo. See
|
|
|
|
http://camlistore.org/docs/contributing for how to use them.)
|
2013-06-11 11:14:05 +00:00
|
|
|
|
|
|
|
On Debian/Ubuntu, some deps to get started:
|
|
|
|
|
2013-07-01 23:02:45 +00:00
|
|
|
$ sudo apt-get install libsqlite3-dev sqlite3 pkg-config git
|
2013-06-11 11:14:05 +00:00
|
|
|
|
2013-08-04 21:28:14 +00:00
|
|
|
During development, rather than use the main binaries ("camput",
|
|
|
|
"camget", "camtool", "cammount", etc) directly, we instead use
|
|
|
|
wrappers that automatically configure the environment to use the
|
|
|
|
test server & test environment:
|
2012-12-07 22:14:31 +00:00
|
|
|
|
|
|
|
$ ./dev-camput
|
|
|
|
$ ./dev-camget
|
2013-08-04 21:28:14 +00:00
|
|
|
$ ./dev-camtool
|
|
|
|
$ ./dev-cammount
|
2013-06-11 11:14:05 +00:00
|
|
|
... etc.
|
2012-12-07 22:14:31 +00:00
|
|
|
|
2013-07-29 13:59:53 +00:00
|
|
|
We are in the process of migrating those scripts to a go command
|
|
|
|
with subcommands: devcam. To install (assuming your GOPATH is set):
|
|
|
|
|
|
|
|
$ go install ./dev/devcam
|
|
|
|
|
2013-08-04 21:28:14 +00:00
|
|
|
The old ./dev-server script has already been replaced by:
|
2013-07-29 13:59:53 +00:00
|
|
|
|
|
|
|
$ devcam server
|
|
|
|
|
2013-08-04 21:28:14 +00:00
|
|
|
Then, once the dev server is running,
|
|
|
|
|
|
|
|
- Upload a file:
|
|
|
|
./dev-camput file ~/camlistore/COPYING
|
2013-06-11 11:27:04 +00:00
|
|
|
- Create a permanode:
|
2013-08-04 21:28:14 +00:00
|
|
|
./dev-camput permanode
|
2013-06-11 11:27:04 +00:00
|
|
|
- Use the UI: http://localhost:3179/ui/
|
2012-12-07 22:14:31 +00:00
|
|
|
|
2013-06-11 11:27:04 +00:00
|
|
|
Please update this file as appropriate.
|