Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Include requirements in documentation #63

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = "Gemeente Utrecht"

# The full version, including alpha/beta/rc tags
release = "0.1.3"
release = "0.6.3"


# -- General configuration ---------------------------------------------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions doc/developers/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
==========
Developers
==========

This section of the documentation is aimed developers working on the DoWC.

.. toctree::
:maxdepth: 2
:caption: Developers

django
docker
frontend
testing
15 changes: 15 additions & 0 deletions doc/developers/testing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. _testing:

=======
Testing
=======

This document covers the tools to run tests and how to use them.


Django tests
============

Run the project tests by executing::

$ python src/manage.py test dowc
31 changes: 19 additions & 12 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
Document Wijzigen Component Documentation
=========================================

**Document Wijzigen Component** (short DO.W.C.) is a WebDAV server exposing documents stored in a `Documenten API <https://documenten-api.vng.cloud/>`_.
:Version: 0.6.3
:Source: https://github.com/GemeenteUtrecht/dowc
:Keywords: dowc, webdav, reading documents, editing documents, native office
:PythonVersion: 3.8

Access to documents is obtained by creating authenticated links via the DO.W.C. API endpoints. WebDAV clients, such as MS Office Word, Excel etc. are then able to read and modify (with the correct permissions) these documents. DO.W.C. is built in Python/Django.

The authentication mechanism relies on `zgw-auth-backend <https://github.com/maykinmedia/zgw-auth-backend>`_.
|build-status| |black|

A webapplication to use the native MS Office application to read and edit documents.
Please refer to this document on how to start, configure and get the DO.W.C. running yourself.

.. toctree::
:maxdepth: 2
:hidden:
:caption: Contents

docker
configuration
frontend
django
mechanics
supported_formats
introduction
technical_requirements
usage/index
developers/index


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
* :ref:`search`

.. |build-status| image:: https://travis-ci.org/GemeenteUtrecht/dowc.svg?branch=master
:alt: Build status
:target: https://travis-ci.org/GemeenteUtrecht/dowc

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
10 changes: 10 additions & 0 deletions doc/introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _introduction:

Introduction
============

**Document Wijzigen Component** (short DO.W.C.) is a WebDAV server exposing documents stored in a `Documenten API <https://documenten-api.vng.cloud/>`_.

Access to documents is obtained by creating authenticated links via the DO.W.C. API endpoints. WebDAV clients, such as MS Office Word, Excel etc. are then able to read and modify (with the correct permissions) these documents. DO.W.C. is built in Python/Django.

The authentication mechanism relies on `zgw-auth-backend <https://github.com/maykinmedia/zgw-auth-backend>`_.
45 changes: 45 additions & 0 deletions doc/technical_requirements.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
.. _technical-requirements:


Software requirements
=====================
======================= ==============
Software/framework Version
----------------------- --------------
Python 3.8
PostgreSQL 9.6+
Node 13
======================= ==============

The current python dependencies can be found in github repository dowc/requirements/production.txt.
The current node dependencies can be found in github repository dowc/package.json.


Hardware requirements
=====================

Currently in our production implementation we have ~50 concurrent users and run the following
kubernetes settings:

======================= ==============
Resource Values
----------------------- --------------
DOWC
----------------------- --------------
CPU: requests 750m
CPU: limits 750m
Memory: requests 512Mi
Memory: limits 512Mi
Storage Persistent 1Gi
Replica count 1-100
Replica autoscale True
----------------------- --------------
Redis
----------------------- --------------
CPU: requests 256m
CPU: limits 256m
Memory: requests 64Mi
Memory: limits 128Mi
Storage Persistent 1Gi
Replica count 1
======================= ==============
7 changes: 7 additions & 0 deletions doc/usage/admin.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _admin:

====
TODO
====

#TODO: Create write up on how to manage locked documents.
File renamed without changes.
15 changes: 15 additions & 0 deletions doc/usage/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
=====
Usage
=====

This section of the documentation is aimed users managing the DoWC.

.. toctree::
:maxdepth: 2
:caption: Developers

configuration
mechanics
supported_formats
admin

File renamed without changes.
File renamed without changes.
Loading