Bläddra i källkod

More doc updates

* Only leave informational contents in README
* Update installation instructions
Stefano Cossu 6 år sedan
förälder
incheckning
2893236f58
3 ändrade filer med 50 tillägg och 49 borttagningar
  1. 31 44
      README.rst
  2. 13 3
      docs/contributing.rst
  3. 6 2
      docs/setup.rst

+ 31 - 44
README.rst

@@ -6,58 +6,46 @@ LAKEsuperior
 LAKEsuperior is an alternative `Fedora
 LAKEsuperior is an alternative `Fedora
 Repository <http://fedorarepository.org>`__ implementation.
 Repository <http://fedorarepository.org>`__ implementation.
 
 
-Documentation
--------------
+Fedora is a mature repository software system historically adopted by
+major cultural heritage institutions. It exposes an
+`LDP <https://www.w3.org/TR/ldp-primer/>`__ endpoint to manage
+any type of binary files and their metadata in Linked Data format.
 
 
 The full documentation is maintained in `Read The Docs
 The full documentation is maintained in `Read The Docs
-<http://lakesuperior.readthedocs.io/>`__. Please refer to that for more info.
+<http://lakesuperior.readthedocs.io/>`__. Please refer to that for more info,
+including installation instructions.
 
 
-Installation
-------------
-
-The following instructions are aimed at a manual install using this git
-repository. For a hands-off install using Docker, see
-`the setup documentation
-<http://lakesuperior.readthedocs.io/en/latest/setup.html>`__.
-
-Dependencies
-~~~~~~~~~~~~
+Guiding Principles
+------------------
 
 
-1. Python 3.5 or greater.
-2. A message broker supporting the STOMP protocol. For testing and
-   evaluation purposes, `CoilMQ <https://github.com/hozn/coilmq>`__ is
-   included with the dependencies and should be automatically installed.
+LAKEsuperior aims at being an uncomplicated, efficient Fedora 4
+implementation.
 
 
-Installation steps
-~~~~~~~~~~~~~~~~~~
+Its main goals are:
 
 
-#. Create a virtualenv in a project folder:
-   ``python3 -m venv <virtualenv folder>``
-#. Activate the virtualenv: ``source <path_to_virtualenv>/bin/activate``
-#. Install dependencies: ``pip install -r requirements.txt``
-#. Start your STOMP broker, e.g.: ``coilmq &``. If you have another
-   queue manager listening to port 61613 you can either configure a
-   different port on the application configuration, or use the existing
-   message queue.
-#. Run ``lsup-admin bootstrap`` to initialize the binary and graph
-   stores.
-#. Run ``fcrepo``.
+-  **Reliability:** Based on solid technologies with stability in mind.
+-  **Efficiency:** Small memory and CPU footprint, high scalability.
+-  **Ease of management:** Tools to perform monitoring and maintenance
+   included.
+-  **Simplicity of design:** Straight-forward architecture, robustness
+   over features.
 
 
-Contributing
+Key features
 ------------
 ------------
 
 
-This has been so far a single person’s off-hours project (with much
-input from several sides). In order to turn into anything close to a
-Beta release and eventually to a production-ready implementation, it
-needs some community love.
-
-Contributions are welcome in all forms, including ideas, issue reports,
-or even just spinning up the software and providing some feedback.
-LAKEsuperior is meant to live as a community project.
-
-See `Contributing Guidelines
-<http://lakesuperior.readthedocs.io/en/latest/contributing.html>`__
-for further details on how to fork, improve, document and test the project.
+-  Drop-in replacement for Fedora4 (with some
+   :doc:`caveats <fcrepo4_deltas>`); currently being tested
+   with Hyrax 2
+-  Very stable persistence layer based on
+   `LMDB <https://symas.com/lmdb/>`__ and filesystem. Fully
+   ACID-compliant writes guarantee consistency of data.
+-  Term-based search (*planned*) and SPARQL Query API + UI
+-  No performance penalty for storing many resources under the same
+   container
+-  Extensible provenance metadata tracking
+-  Multi-modal access: HTTP (REST), command line interface and native Python
+   API.
+-  Fits in a pocket: you can carry 50M triples in an 8Gb memory stick.
 
 
 .. |build status| image:: http://img.shields.io/travis/scossu/lakesuperior/master.svg?style=flat
 .. |build status| image:: http://img.shields.io/travis/scossu/lakesuperior/master.svg?style=flat
    :alt: Build Status
    :alt: Build Status
@@ -65,5 +53,4 @@ for further details on how to fork, improve, document and test the project.
 
 
 .. |docs| image:: https://readthedocs.org/projects/lakesuperior/badge/
 .. |docs| image:: https://readthedocs.org/projects/lakesuperior/badge/
     :alt: Documentation Status
     :alt: Documentation Status
-    :scale: 100%
     :target: https://lakesuperior.readthedocs.io/en/latest/?badge=latest
     :target: https://lakesuperior.readthedocs.io/en/latest/?badge=latest

+ 13 - 3
docs/contributing.rst

@@ -10,12 +10,22 @@ Contributions are welcome in all forms, including ideas, issue reports,
 or even just spinning up the software and providing some feedback.
 or even just spinning up the software and providing some feedback.
 LAKEsuperior is meant to live as a community project.
 LAKEsuperior is meant to live as a community project.
 
 
+.. _dev_setup:
+
 Development Setup
 Development Setup
 -----------------
 -----------------
 
 
-To set up the software for developing code, documentation, or tests, follow the
-:ref:`manual installation <manual_install>` instructions.
-The additional packages indicated as optional need to be installed.
+To set up the software for developing code, documentation, or tests::
+
+    mkdir lsup # or whatever you may want to call it
+    cd lsup
+    python3 -m venv .
+    source bin/activate
+    git clone https://github.com/scossu/lakesuperior.git app
+    cd app
+    python setup.py develop
+
+This will allow to alter the code without having to recompile it after changes.
 
 
 Contribution Guidelines
 Contribution Guidelines
 -----------------------
 -----------------------

+ 6 - 2
docs/setup.rst

@@ -26,8 +26,6 @@ self-container Docker volume, meaning your data will persist between
 runs. If you want to clear the decks, simply run
 runs. If you want to clear the decks, simply run
 ``docker-compose down -v``.
 ``docker-compose down -v``.
 
 
-.. _manual_install:
-
 Manual Install (a bit less quick, a bit more power)
 Manual Install (a bit less quick, a bit more power)
 ---------------------------------------------------
 ---------------------------------------------------
 
 
@@ -70,6 +68,12 @@ Test if it works::
 
 
     curl http://localhost:8000/ldp/
     curl http://localhost:8000/ldp/
 
 
+Advanced Install
+----------------
+
+A "developer mode" install is detailed in the
+:ref:`Development Setup<manual_install>` section.
+
 Configuration
 Configuration
 -------------
 -------------