docs/ - Update navigation, file structure, requirements
authorTim Otten <totten@civicrm.org>
Sat, 3 Oct 2015 19:03:33 +0000 (15:03 -0400)
committerTim Otten <totten@civicrm.org>
Sun, 11 Oct 2015 09:25:09 +0000 (10:25 +0100)
docs/api.md [new file with mode: 0644]
docs/build.md [new file with mode: 0644]
docs/customize.md
docs/develop.md
docs/extend.md
docs/hook.md [new file with mode: 0644]
docs/index.md
docs/reference.md [deleted file]
docs/requirements.md
docs/test.md
mkdocs.yml

diff --git a/docs/api.md b/docs/api.md
new file mode 100644 (file)
index 0000000..adbe8ed
--- /dev/null
@@ -0,0 +1,3 @@
+*The API*
+
+TODO: Assimilate http://wiki.civicrm.org/confluence/display/CRMDOC/Using+the+API
\ No newline at end of file
diff --git a/docs/build.md b/docs/build.md
new file mode 100644 (file)
index 0000000..19b91c3
--- /dev/null
@@ -0,0 +1,7 @@
+*Build.md*
+
+TODO:
+
+ * Nightlies vs gitify vs civibuild
+ * gitify
+ * civibuild (https://github.com/civicrm/civicrm-buildkit/blob/master/doc/civibuild.md)
index 309f15857105dff0b679f0f7fd908147391103e6..c2377aa0059cf654d1f1665282363c4c04d28d4f 100644 (file)
@@ -1 +1,12 @@
-# Customize
\ No newline at end of file
+*Customize*
+
+TODO:
+
+ * *(Requirements: Don't need full git install)*
+ * *(When possible, link to User/Admin Guide or other existing docs instead of giving details.)*
+ * Custom fields, profiles, option groups, etc
+ * webform_civicrm
+ * Extensions (download+install; web and CLI).
+ * (Maybe) CiviRules
+ * (Maybe) CSS override
+ * (Maybe) *.extra.tpl
index 58aafee9b4627d19ca2fbdad1f5185aa658843bb..f58af5f5553503afac537f37a349364115557c67 100644 (file)
@@ -1 +1,3 @@
-# Develop
\ No newline at end of file
+*Develop*
+
+TODO: Assimilate http://wiki.civicrm.org/confluence/display/CRMDOC/GitHub+for+CiviCRM
index e6521b021c626246eb4b4a1383d99ac08dbab85f..22d22a52b1c680d83de27968946985462add5c1c 100644 (file)
@@ -1 +1,7 @@
-# Extend
\ No newline at end of file
+*Extend*
+
+TODO:
+
+ * General overview: Use APIv3 and hooks. Package code in Civi extensions or CMS extensions (w/trade-offs).
+ * Assimilate: http://wiki.civicrm.org/confluence/display/CRMDOC/Create+an+Extension
+ * Assimilate: http://wiki.civicrm.org/confluence/display/CRMDOC/Publish+an+Extension
diff --git a/docs/hook.md b/docs/hook.md
new file mode 100644 (file)
index 0000000..e071122
--- /dev/null
@@ -0,0 +1,6 @@
+*The hooks*
+
+TODO:
+
+ * http://wiki.civicrm.org/confluence/display/CRMDOC/Hooks
+ * http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference
\ No newline at end of file
index 7edcaf6f32ca7a7e148028e381f4d78b74d70df2..691fecb56482e3d43ec10c81e7f669c2c02e8f21 100644 (file)
@@ -1,5 +1,9 @@
 # Build
 
+CiviCRM is an open-source application which can be poked, prodded, twisted,
+and hacked.  It can be customized (with minimal code skills), extended (for
+add-ons and integrations), and collaboratively developed.
+
 <table>
   <tbody>
     <tr>
       <td>Get the tools you need</td>
     </tr>
     <tr>
-      <td><a href="develop">Develop</a></td>
-      <td>Create a feature or fix for CiviCRM</td>
+      <td><a href="build">Git Install</a></td>
+      <td>Install the latest code from git</td>
+    </tr>
+    <tr>
+      <td><a href="customize">Customize</a></td>
+      <td>Change your site without coding</td>
     </tr>
     <tr>
       <td><a href="extend">Extend</a></td>
       <td>Create an add-on or integration</td>
     </tr>
     <tr>
-      <td><a href="test">Test</a></td>
-      <td>Make it good</td>
+      <td><a href="develop">Develop</a></td>
+      <td>Create a feature or fix for CiviCRM</td>
     </tr>
     <tr>
-      <td><a href="customize">Customize</a></td>
-      <td>Change your site without coding</td>
+      <td><a href="test">Test</a></td>
+      <td>Make it good</td>
     </tr>
     <tr>
       <td><a href="reference">Reference</a></td>
@@ -31,6 +39,9 @@
 
 # Collaborate
 
+As an open-source project, CiviCRM is managed by an international community
+of developers and activists. If you have questions, issues, or want to make
+plans for new development, reach out online.
 
 <table>
   <tbody>
@@ -40,7 +51,7 @@
     </tr>
     <tr>
       <td><a href="http://forum.civicrm.org/">Forum</a></td>
-      <td>Reach out to Civi's worldwide developer community</td>
+      <td>Converse in the public square</td>
     </tr>
     <tr>
       <td><a href="https://github.com/civicrm/civicrm-core/">Github</a></td>
       <td><a href="FIXME">Sprints</a></td>
       <td>Get together IRL</td>
     </tr>
+    <tr>
+      <td><a href="http://civicrm.stackexchange.com/">StackExchange</a></td>
+      <td>Ask questions. Find answers.</td>
+    </tr>
     <tr>
       <td><a href="http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+Wiki">Wiki</a></td>
       <td>Share drafts, notes, and specs</td>
diff --git a/docs/reference.md b/docs/reference.md
deleted file mode 100644 (file)
index cf5aa07..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# Reference
index da801d1ceb27901609203e305548a3cdb2783dc1..0fb7d13b89ab224edb7c332d2f81b2dd9aa18fe7 100644 (file)
@@ -25,8 +25,8 @@ steps (e.g.  [Setup Command Line
 PHP](http://wiki.civicrm.org/confluence/display/CRMDOC/Setup+Command-Line+PHP)
 for MAMP).
 
-If the command-line is misconfigured, the command `civi-download-tools`
-(below) will attempt to display an appropriate warning.
+In subsequent steps, the download script will attempt to identify
+misconfigurations and display an appropriate message.
 
 # Buildkit
 
@@ -39,7 +39,28 @@ already installed a few.  You could install all the tools individually --
 but that takes a lot of work.
 
 [civicrm-buildkit](https://github.com/civicrm/civicrm-buildkit) provides
-a script which downloads the full collection:
+a script which downloads the full collection.
+
+### - Option #1: Full Stack Ubuntu (Opinionated)
+
+If you have a new installation of Ubuntu 12.04 or 14.04, then you can download everything -- buildkit and the system
+requirements (`git`, `php`, `apache`, `mysql`, etc) -- with one command.  This command will install buildkit to `~/buildkit`:
+
+```bash
+curl -Ls https://civicrm.org/get-buildkit.sh | bash -s -- --full --dir ~/buildkit
+```
+
+Note:
+
+ * When executing the above command, you must ***NOT*** run as `root`. (Doing so will produce incorrect permissions.)
+   Instead, you must have `sudo` permissions.
+ * The `--full` option is opinionated; it specifically installs `php`, `apache`, and `mysql` (rather than `hvm`, `nginx`, `lighttpd`, or `percona`).
+   If you try to mix `--full` with alternative systems, then expect conflicts.
+
+
+### - Option #2: Other Systems
+
+If you already installed the requirements (`git`, `php`, etc), then you can download buildkit to `~/buildkit` with these commands:
 
 ```bash
 git clone https://github.com/civicrm/civicrm-buildkit.git buildkit
@@ -48,7 +69,9 @@ cd buildkit/bin
 export PATH="$PWD:$PATH"
 ```
 
-To update buildkit, you may wish to periodically run:
+### - Option #3: Upgrade
+
+If you have previously downloaded buildkit and want to update it, run:
 
 ```bash
 cd buildkit
index 21e60f8358c6175f2efbbe34808a4d99d12d18ee..8d4c4ead03fdc0eb46a08d09fc2aa8b858abb8f6 100644 (file)
@@ -1 +1,5 @@
-# Test
\ No newline at end of file
+*Test*
+
+TODO:
+
+ * http://wiki.civicrm.org/confluence/display/CRMDOC/Testing
\ No newline at end of file
index 1a28d446c2d097bba20aa656aca732ed6be25add..71627062bdd513bc649582da0c32361db95af8bf 100644 (file)
@@ -1,10 +1,15 @@
 site_name: CiviCRM Development
 pages:
  - Introduction: index.md
- - Requirements: requirements.md
- - Develop: develop.md
- - Extend: extend.md
- - Test: test.md
- - Customize: customize.md
- - Reference: reference.md
+ - Setup:
+   - Requirements: requirements.md
+   - Git Install: build.md
+ - Tutorial:
+   - Customize: customize.md
+   - Extend: extend.md
+   - Develop: develop.md
+   - Test: test.md
+ - Reference:
+   - 'APIv3': api.md
+   - 'Hooks': hook.md
 theme: readthedocs