initial NearBeach
16
NearBeach/docs/000-about/features.rst
Normal file
@@ -0,0 +1,16 @@
|
||||
.. _features:
|
||||
|
||||
NearBeach Features
|
||||
##################
|
||||
|
||||
Currently NearBeach has the ability to;
|
||||
|
||||
* Setup Customer/Organisation information
|
||||
* Requirements/Requirement Items
|
||||
* Kanban Boards
|
||||
* Project/Tasks
|
||||
* Sprint Functionality
|
||||
* Request for Changes (RFC)
|
||||
|
||||
We recommend reading :ref:`nearbeach_flow` first to get an understanding of how each of the different modules will work
|
||||
with each other. Once you are ready to use NearBeach, please read the Basic Usage under this documentation.
|
||||
BIN
NearBeach/docs/000-about/flow/nearbeach-flow.png
Normal file
|
After Width: | Height: | Size: 110 KiB |
111
NearBeach/docs/000-about/nearbeach-flow.rst
Normal file
@@ -0,0 +1,111 @@
|
||||
.. _nearbeach_flow:
|
||||
|
||||
NearBeach Flow
|
||||
##############
|
||||
|
||||
What is NearBeach Flow?
|
||||
=======================
|
||||
|
||||
What is NearBeach Flow? We have several beliefs when it comes to project management;
|
||||
|
||||
* Things always go wrong
|
||||
* Quoting is really hard and no one gets it correct
|
||||
* User requirements/User stories are lost
|
||||
|
||||
We have structured NearBeach so the following modules are all separate modules;
|
||||
|
||||
* Requirements/Requirements Items
|
||||
* Projects/Tasks
|
||||
* Kanban Board
|
||||
* Sprints
|
||||
* Request For Change
|
||||
|
||||
The structure of NearBeach is setup in this manner, so you can pick and choose your flow between each of the different
|
||||
modules. For example, you might not have any user requirements, and just use the task functionality in NearBeach. This
|
||||
is perfectly fine for any small and quick tasks. Then there are some projects that have a lot of user requirements.
|
||||
These requirements should be stored in NearBeach, where they can be broken down into smaller requirement items. Relevant
|
||||
projects/tasks/kanban cards can then be connected to the original requirement items.
|
||||
|
||||
The following diagram best describes the entrance points for NearBeach, and the final exit point.
|
||||
|
||||
.. image:: flow/nearbeach-flow.png
|
||||
:width: 800
|
||||
:alt: The NearBeach flow diagram.
|
||||
|
||||
|
||||
How Does It Work
|
||||
================
|
||||
|
||||
Feature - User Requirements
|
||||
---------------------------
|
||||
|
||||
Requirements are a helicopter view of the project at hand. For example;
|
||||
|
||||
* Building a new site for Client X
|
||||
* Rebranding merchandise
|
||||
* Implementing a new ticketing system
|
||||
|
||||
For each smaller and detailed user story, you should use requirement items. For example;
|
||||
|
||||
* Implementation of the new API to accept payments
|
||||
* Deployment of the CI/CD pipeline
|
||||
* Creation of a new page for the Product X
|
||||
|
||||
Once you have laid out in your requirement, and requirement items, you can easily create Projects/Tasks to link back to
|
||||
each requirement item. One requirement item could have multiple projects/tasks. It is not defined as a 1-to-1
|
||||
relationship.
|
||||
|
||||
For example, the requirement item "Creation of a new page for the Product X" can have the following tasks;
|
||||
|
||||
* Photography and Images of new product X for page
|
||||
* Design of new web page for product X
|
||||
* Construct the CSS for new web page for product X
|
||||
* Frontend build of the new web page for product X
|
||||
|
||||
As you can see, each task is required for this user story. However the tasks themselves are completely different and
|
||||
usually tackled by different departments. The photographer usually does not tackle the frontend code for the web page.
|
||||
|
||||
|
||||
Feature - Projects/Tasks
|
||||
------------------------
|
||||
|
||||
Though projects and tasks are similar in NearBeach, there is one small definition difference. Tasks are considered to be
|
||||
small and quick tasks, where projects can be more complicated, and thus can be broken down into smaller tasks.
|
||||
|
||||
For example we have the following project "Setup new EC2 Instance for webserver", which will contain the following
|
||||
tasks;
|
||||
|
||||
* Setup EC2 server on AWS
|
||||
* Install required LAMP stack + Required Software
|
||||
* Setup Firewall on EC2
|
||||
|
||||
So that small project has a bunch of smaller tasks.
|
||||
|
||||
**Question:** What if I am the only one who does this project?
|
||||
|
||||
**Answer:** How you utilise NearBeach is up to you. You can easily not create any of the extra tasks, and just keep it as a
|
||||
a single project. That will work perfectly fine, however we recommend splitting up projects if they start getting large,
|
||||
or there are multiple people involved. That way you can assign responsibilities at the task levels.
|
||||
|
||||
|
||||
Feature - Kanban Boards
|
||||
-----------------------
|
||||
|
||||
For users who like to see things visually we have implement a Kanban board. The kanban board is customisable, where
|
||||
users can defined each column and level. Users will also be able to create cards, or link in existing tasks/projects.
|
||||
|
||||
|
||||
Feature - Request For Change
|
||||
----------------------------
|
||||
|
||||
The Request For Change module in NearBeach is designed to;
|
||||
|
||||
* Describe the change you want to implement
|
||||
* Describe the risk of the change
|
||||
* Describe the implementation and back-out plan of the change
|
||||
* Describe the test plan of the change
|
||||
* Detail to the end user, when the change is happening and the process around that change
|
||||
|
||||
The request for change also has "Change Tasks", which are a single task done at a certain point in the change process.
|
||||
These change tasks can be assigned to a user, with a QA to sign off. The RFC functionality in NearBeach can be used to
|
||||
track these changes as it is applied.
|
||||
@@ -0,0 +1,53 @@
|
||||
Use AWS S3 Storage
|
||||
##################
|
||||
|
||||
.. note::
|
||||
|
||||
It is assumed that you have an AWS account.
|
||||
|
||||
NearBeach uses Boto3 to connect to AWS. To find more information about Boto3 please go to `their documentation <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html>`_
|
||||
|
||||
AWS S3 Instructions
|
||||
===================
|
||||
|
||||
Modify your docker-compose file to include the fields
|
||||
|
||||
* AWS_ACCESS_KEY_ID
|
||||
* AWS_SECRET_ACCESS_KEY
|
||||
* AWS_STORAGE_BUCKET_NAME
|
||||
|
||||
The following is an example snippet of code
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
...
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
- SECRET_KEY=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST=<<Please fill>>
|
||||
- SMTP_EMAIL_PORT=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_USER=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_PASSWORD=<<Please fill>>
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=nearbeach-db
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=3306
|
||||
- ADMIN_USERNAME=<<Please fill>>
|
||||
- ADMIN_EMAIL=<<Please fill>>
|
||||
- CSRF_TRUSTED_URLS=<<https://yourdomain.com.au>>
|
||||
- AWS_ACCESS_KEY_ID=<<Please fill>>
|
||||
- AWS_SECRET_ACCESS_KEY=<<Please fill>>
|
||||
- AWS_STORAGE_BUCKET_NAME=<<Please fill>>
|
||||
volumes:
|
||||
...
|
||||
|
||||
Please follow `AWS' guild on setting up S3 IAM credentials <https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html>`_
|
||||
|
||||
AWS Storage Bucket Name can be grabbed from the S3 bucket when creating (or after).
|
||||
@@ -0,0 +1,51 @@
|
||||
Use Azure Blob Storage
|
||||
######################
|
||||
|
||||
.. note::
|
||||
|
||||
It is assumed that you have an Azure account.
|
||||
|
||||
NearBeach uses Azure's own toolset to connect to Azure Blob storage. `For more information please visit Microsoft's documentation <https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python>`_
|
||||
|
||||
Azure Blob Instructions
|
||||
=======================
|
||||
|
||||
Modify your docker-compose file to include the fields
|
||||
|
||||
* AZURE_STORAGE_CONNECTION_STRING
|
||||
* AZURE_STORAGE_CONTAINER_NAME
|
||||
|
||||
The following is an example snippet of code
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
...
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
- SECRET_KEY=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST=<<Please fill>>
|
||||
- SMTP_EMAIL_PORT=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_USER=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_PASSWORD=<<Please fill>>
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=nearbeach-db
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=3306
|
||||
- ADMIN_USERNAME=<<Please fill>>
|
||||
- ADMIN_EMAIL=<<Please fill>>
|
||||
- CSRF_TRUSTED_URLS=<<https://yourdomain.com.au>>
|
||||
- AZURE_STORAGE_CONNECTION_STRING=<<Please fill>>
|
||||
- AZURE_STORAGE_CONTAINER_NAME=<<Please fill>>
|
||||
volumes:
|
||||
...
|
||||
|
||||
`How to get Storage Connection String <https://learn.microsoft.com/en-us/azure/storage/common/storage-account-get-info?tabs=portal>`_
|
||||
|
||||
The Azure Storage container name is the Azure storage container.
|
||||
@@ -0,0 +1,18 @@
|
||||
Blob Storages
|
||||
#############
|
||||
|
||||
NearBeach requires BLOB storage to house any uploads like documents, profile pictures etc. These will be stored in the BLOB storage. You have the choice of the following;
|
||||
|
||||
* Azure Blob Storage
|
||||
* Aws S3 Buckets
|
||||
* Minio Buckets
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:hidden:
|
||||
:caption: Use Different Blob Storages
|
||||
|
||||
Azure Blob Storage </001-installation/different-blob-storage/azure>
|
||||
AWS S3 </001-installation/different-blob-storage/aws-s3>
|
||||
Minio </001-installation/different-blob-storage/minio>
|
||||
@@ -0,0 +1,58 @@
|
||||
Use Minio Blob Storage
|
||||
######################
|
||||
|
||||
.. note::
|
||||
|
||||
It is assumed that you have a Minio account.
|
||||
|
||||
NearBeach uses Boto3 to connect to Minio. To find more information about Boto3 please go to `their documentation <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html>`_
|
||||
|
||||
Mino Blob Instructions
|
||||
======================
|
||||
|
||||
Modify your docker-compose file to include the fields
|
||||
|
||||
* AWS_ACCESS_KEY_ID
|
||||
* AWS_SECRET_ACCESS_KEY
|
||||
* AWS_STORAGE_BUCKET_NAME
|
||||
* AWS_S3_ENDPOINT_URL
|
||||
|
||||
The following is an example snippet of code
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
...
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
- SECRET_KEY=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST=<<Please fill>>
|
||||
- SMTP_EMAIL_PORT=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_USER=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_PASSWORD=<<Please fill>>
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=nearbeach-db
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=3306
|
||||
- ADMIN_USERNAME=<<Please fill>>
|
||||
- ADMIN_EMAIL=<<Please fill>>
|
||||
- CSRF_TRUSTED_URLS=<<https://yourdomain.com.au>>
|
||||
- AWS_ACCESS_KEY_ID=<<Please fill>>
|
||||
- AWS_SECRET_ACCESS_KEY=<<Please fill>>
|
||||
- AWS_STORAGE_BUCKET_NAME=<<Please fill>>
|
||||
- AWS_S3_ENDPOINT_URL=<<Please fill>>
|
||||
volumes:
|
||||
...
|
||||
|
||||
|
||||
Please follow any Minio instructions on how to obtain the Access Key and Secret Access Key.
|
||||
|
||||
The storage bucket name should match the bucket name created in the minio client.
|
||||
|
||||
The S3 endpoint url is the API endpoint for minio. i.e. localhost:9000
|
||||
@@ -0,0 +1,22 @@
|
||||
Using Different Databases
|
||||
#########################
|
||||
|
||||
We built NearBeach on the back of Django - which supports multiple databases.
|
||||
|
||||
NearBeach's currently supported databases;
|
||||
|
||||
* MariaDb
|
||||
* MySQL
|
||||
* PostgreSQL
|
||||
* Oracle
|
||||
|
||||
If you require to use a different database, please follow the instructions linked below.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 3
|
||||
:caption: Use Different Databases
|
||||
|
||||
MariaDB </001-installation/different-databases/maria-db>
|
||||
MySQL </001-installation/different-databases/mysql>
|
||||
PostgreSQL </001-installation/different-databases/postgresql>
|
||||
Oracle </001-installation/different-databases/oracle>
|
||||
@@ -0,0 +1,74 @@
|
||||
Use MariaDb
|
||||
###########
|
||||
|
||||
You can use NearBeach with MariaDB. You can easily run MariaDB within the same docker-compose file, or alternatively you can run it separately (external).
|
||||
|
||||
Mariadb - External Database
|
||||
===========================
|
||||
|
||||
.. note::
|
||||
|
||||
We recommend using an external database like AWS RDS, etc. So you can scale and backup externally to the docker container.
|
||||
|
||||
Below is the sample code for using MariaDB/MySQL. Please note we do not have any of the docker database setup, as this is not required for externally run databases.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=<<please fill>>
|
||||
...
|
||||
|
||||
You will need to fill out the following fields. These fields should match how you would log into that database.
|
||||
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=<<please fill>>
|
||||
|
||||
|
||||
MariaDb - Docker Database
|
||||
=========================
|
||||
|
||||
.. note::
|
||||
|
||||
This will run the database within the docker environment.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.11
|
||||
container_name: nearbeach-db
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
- MARIADB_DATABASE=<<Please fill>>
|
||||
- MARIADB_USER=<<Please fill>>
|
||||
- MARIADB_PASSWORD=<<Please fill>>
|
||||
- MARIADB_ROOT_PASSWORD=<<Please fill>>
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
|
||||
The above code would be used in your docker-compose file.
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
Use MySQL
|
||||
#########
|
||||
|
||||
You can use NearBeach with MySQL. You can easily run MySQL within the same docker-compose file, or alternatively you can run it separately (external).
|
||||
|
||||
MySQL - External Database
|
||||
=========================
|
||||
|
||||
.. note::
|
||||
|
||||
We recommend using an external database like AWS RDS, etc. So you can scale and backup externally to the docker container.
|
||||
|
||||
Below is the sample code for using MySQL. Please note we do not have any of the docker database setup, as this is not required for externally run databases.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=<<please fill>>
|
||||
...
|
||||
|
||||
You will need to fill out the following fields. These fields should match how you would log into that database.
|
||||
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=<<please fill>>
|
||||
|
||||
MySQL - Docker Database
|
||||
=======================
|
||||
|
||||
.. note::
|
||||
|
||||
This will run the database within the docker environment.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql:8.0
|
||||
container_name: nearbeach-db
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
- MYSQL_DATABASE=<<Please fill>>
|
||||
- MYSQL_USER=<<Please fill>>
|
||||
- MYSQL_PASSWORD=<<Please fill>>
|
||||
- MYSQL_ROOT_PASSWORD=<<Please fill>>
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
|
||||
The above code would be used in your docker-compose file.
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
Use Oracle DB
|
||||
#############
|
||||
|
||||
You can use NearBeach with Oracle.
|
||||
|
||||
Oracle - External Database
|
||||
==========================
|
||||
|
||||
.. note::
|
||||
|
||||
We recommend using an external database like AWS RDS, etc. So you can scale and backup externally to the docker container. You will need to fill out the following fields. These fields should match how you would log into that database.
|
||||
|
||||
|
||||
Below is the sample code for using Oracle DB. Please note we do not have any of the docker database setup, as this is not required for externally run databases.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=oracle
|
||||
- DB_PORT=<<please fill>>
|
||||
...
|
||||
|
||||
You will need to fill out the following fields. These fields should match how you would log into that database.
|
||||
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=oracle
|
||||
- DB_PORT=<<please fill>>
|
||||
@@ -0,0 +1,75 @@
|
||||
Use PostgreSQL
|
||||
##############
|
||||
|
||||
You can use NearBeach with PostgreSQL. You can easily run PostgreSQL within the same docker-compose file, or alternatively you can run it separately (external).
|
||||
|
||||
PostgreSQL - External Database
|
||||
==============================
|
||||
|
||||
.. note::
|
||||
|
||||
We recommend using an external database like AWS RDS, etc. So you can scale and backup externally to the docker container. You will need to fill out the following fields. These fields should match how you would log into that database.
|
||||
|
||||
|
||||
Below is the sample code for using PostgreSQL. Please note we do not have any of the docker database setup, as this is not required for externally run databases.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=postgresql
|
||||
- DB_PORT=<<please fill>>
|
||||
...
|
||||
|
||||
You will need to fill out the following fields. These fields should match how you would log into that database.
|
||||
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=<<please fill>>
|
||||
- DB_ENGINE=postgresql
|
||||
- DB_PORT=<<please fill>>
|
||||
|
||||
|
||||
PostgreSQL - Docker Database
|
||||
============================
|
||||
|
||||
.. note::
|
||||
|
||||
This will run the database within the docker environment.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:latest
|
||||
container_name: nearbeach-db
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
- POSTGRES_DB=<<Please fill>>
|
||||
- POSTGRES_USER=<<Please fill>>
|
||||
- POSTGRES_PASSWORD=<<Please fill>>
|
||||
volumes:
|
||||
- ./db-data/:/var/lib/postgresql/data/
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
...
|
||||
|
||||
The above code would be used in your docker-compose file.
|
||||
|
||||
152
NearBeach/docs/001-installation/quick-install-with-docker.rst
Normal file
@@ -0,0 +1,152 @@
|
||||
.. _quick-install-docker:
|
||||
|
||||
Quick Install with Docker
|
||||
#########################
|
||||
|
||||
Copy the following code and paste it into a file called `docker-compose.yaml`
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.11
|
||||
container_name: nearbeach-db
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
- MARIADB_DATABASE=<<Please fill>>
|
||||
- MARIADB_USER=<<Please fill>>
|
||||
- MARIADB_PASSWORD=<<Please fill>>
|
||||
- MARIADB_ROOT_PASSWORD=<<Please fill>>
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
nearbeach:
|
||||
image: robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
- SECRET_KEY=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST=<<Please fill>>
|
||||
- SMTP_EMAIL_PORT=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_USER=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_PASSWORD=<<Please fill>>
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=nearbeach-db
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=3306
|
||||
- ADMIN_USERNAME=<<Please fill>>
|
||||
- ADMIN_EMAIL=<<Please fill>>
|
||||
- CSRF_TRUSTED_URLS=<<https://yourdomain.com.au>>
|
||||
- ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
- AZURE_STORAGE_CONNECTION_STRING=<<Please fill>>
|
||||
- AZURE_STORAGE_CONTAINER_NAME=<<Please fill>>
|
||||
volumes:
|
||||
- .:/ceansuite
|
||||
ports:
|
||||
- 8000:8000
|
||||
- 2525:2525
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
|
||||
#. Inside the docker-compose.yaml file, edit the SECRET_KEY. This will be a large string with symbols, letters and
|
||||
numbers. You can use a generate like https://djecrety.ir/
|
||||
|
||||
|
||||
#. Inside the docker-compose.yaml file, fill out the following fields appropriately. SMTP is used to send the reset
|
||||
password functionality required to login for the first time.
|
||||
|
||||
- SMTP_EMAIL_HOST
|
||||
- SMTP_EMAIL_PORT
|
||||
- SMTP_EMAIL_HOST_USER
|
||||
- SMTP_EMAIL_HOST_PASSWORD
|
||||
|
||||
|
||||
#. The administration username/email will be used to log into NearBeach. This will need to be filled out appropriately
|
||||
because changing
|
||||
|
||||
- ADMIN_USERNAME
|
||||
- ADMIN_EMAIL
|
||||
|
||||
|
||||
#. Inside the docker-compose.yaml file, there are two services. One will be for setting up the Database, and the other
|
||||
service will setup NearBeach. You will need to fill out the database connection/details. Please note you will need the
|
||||
same variable value for the following pairs;
|
||||
|
||||
- DB_DATABASE / MARIADB_DATABASE
|
||||
- DB_USER / MARIADB_USER
|
||||
- DB_PASSWORD / MARIADB_PASSWORD
|
||||
- MARIADB_ROOT_PASSWORD
|
||||
|
||||
MARIADB_ROOT_PASSWORD will not have a pair.
|
||||
|
||||
|
||||
#. Fill out the CSRF_TRUSTED_URLS value. This will need to be the EXACT domain. Please view the examples below
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
CSRF_TRUSTED_URLS=https://demo.nearbeach.org
|
||||
|
||||
If you would like to demo NearBeach, please fill out the following
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
CSRF_TRUSTED_URLS=http://localhost:8000,http://127.0.0.1:8000
|
||||
|
||||
#. Fill out the ALLOWED_HOSTS. This will be similar to the CSRF_TRUSTED, but without the http and port numbers.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
- ALLOWED_HOST=demo.nearbeach.org
|
||||
|
||||
|
||||
Alternatively - if using localhost
|
||||
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
- ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
|
||||
|
||||
#. Use your Azure Blob storage to store uploaded files from NearBeach. If you don't require Azure Blob storage, please
|
||||
delete these two lines;
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
- AZURE_STORAGE_CONNECTION_STRING
|
||||
- AZURE_STORAGE_CONTAINER_NAME
|
||||
|
||||
|
||||
#. Using a terminal, change directory to the location that you stored the docker-compose file. Run the following
|
||||
command
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
docker-compose up -d
|
||||
|
||||
If you would like to specify a project name for your NearBeach instance. Run the following command instead:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
docker-compose up -d --project-name NearBeach
|
||||
|
||||
|
||||
You are now up and running NearBeach in Docker. Visiting the URL you set in the `CSRF_TRUSTED_URLS` in your browser will
|
||||
take you to NearBeach.
|
||||
|
||||
For first time logins, you will need to reset your password. There are two different methods.
|
||||
|
||||
#. Clicking "Reset" password and filling out your email will send you a password reset.
|
||||
|
||||
#. Using a terminal, run the following command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
docker exec -it <<DOCKER-CONTAINER-NAME>> python3 ./manage.py changepassword <<ADMIN_USERNAME>>
|
||||
|
||||
|
||||
This will ask for a new password.
|
||||
151
NearBeach/docs/001-installation/quick-install-with-podman.rst
Normal file
@@ -0,0 +1,151 @@
|
||||
Quick Install with Podman
|
||||
#########################
|
||||
|
||||
Copy the following code and paste it into a file called `podman-compose.yaml`
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: docker.io/mariadb:10.11
|
||||
container_name: nearbeach-db
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
- MARIADB_DATABASE=<<Please fill>>
|
||||
- MARIADB_USER=<<Please fill>>
|
||||
- MARIADB_PASSWORD=<<Please fill>>
|
||||
- MARIADB_ROOT_PASSWORD=<<Please fill>>
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
nearbeach:
|
||||
image: docker.io/robotichead/nearbeach:latest
|
||||
container_name: nearbeach
|
||||
environment:
|
||||
- SECRET_KEY=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST=<<Please fill>>
|
||||
- SMTP_EMAIL_PORT=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_USER=<<Please fill>>
|
||||
- SMTP_EMAIL_HOST_PASSWORD=<<Please fill>>
|
||||
- DB_DATABASE=<<Please fill>>
|
||||
- DB_USER=<<Please fill>>
|
||||
- DB_PASSWORD=<<Please fill>>
|
||||
- DB_HOST=nearbeach-db
|
||||
- DB_ENGINE=mysql
|
||||
- DB_PORT=3306
|
||||
- ADMIN_USERNAME=<<Please fill>>
|
||||
- ADMIN_EMAIL=<<Please fill>>
|
||||
- CSRF_TRUSTED_URLS=<<https://yourdomain.com.au>>
|
||||
- ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
- AZURE_STORAGE_CONNECTION_STRING=<<Please fill>>
|
||||
- AZURE_STORAGE_CONTAINER_NAME=<<Please fill>>
|
||||
volumes:
|
||||
- .:/ceansuite
|
||||
ports:
|
||||
- 8000:8000
|
||||
- 2525:2525
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
|
||||
#. Inside the podman-compose.yaml file, edit the SECRET_KEY. This will be a large string with symbols, letters and
|
||||
numbers. You can use a generate like https://djecrety.ir/
|
||||
|
||||
|
||||
#. Inside the podman-compose.yaml file, fill out the following fields appropriately. SMTP is used to send the reset
|
||||
password functionality. This is one of the methods required to login for the first time.
|
||||
|
||||
- SMTP_EMAIL_HOST
|
||||
- SMTP_EMAIL_PORT
|
||||
- SMTP_EMAIL_HOST_USER
|
||||
- SMTP_EMAIL_HOST_PASSWORD
|
||||
|
||||
|
||||
#. The administration username/email will be used to log into NearBeach. This will need to be filled out appropriately
|
||||
because changing
|
||||
|
||||
- ADMIN_USERNAME
|
||||
- ADMIN_EMAIL
|
||||
|
||||
|
||||
#. Inside the podman-compose.yaml file, there are two services. One will be for setting up the Database, and the other
|
||||
service will setup NearBeach. You will need to fill out the database connection/details. Please note you will need the
|
||||
same variable value for the following pairs;
|
||||
|
||||
- DB_DATABASE / MARIADB_DATABASE
|
||||
- DB_USER / MARIADB_USER
|
||||
- DB_PASSWORD / MARIADB_PASSWORD
|
||||
- MARIADB_ROOT_PASSWORD
|
||||
|
||||
MARIADB_ROOT_PASSWORD will not have a pair.
|
||||
|
||||
|
||||
#. Fill out the CSRF_TRUSTED_URLS value. This will need to be the EXACT domain. Please view the examples below
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
CSRF_TRUSTED_URLS=https://demo.nearbeach.org
|
||||
|
||||
If you would like to demo NearBeach, please fill out the following
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
CSRF_TRUSTED_URLS=http://localhost:8000,http://127.0.0.1:8000
|
||||
|
||||
#. Fill out the ALLOWED_HOSTS. This will be similar to the CSRF_TRUSTED, but without the http and port numbers.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
- ALLOWED_HOST=demo.nearbeach.org
|
||||
|
||||
|
||||
Alternatively - if using localhost
|
||||
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
- ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
|
||||
|
||||
#. Use your Azure Blob storage to store uploaded files from NearBeach. If you don't require Azure Blob storage, please
|
||||
delete these two lines;
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
- AZURE_STORAGE_CONNECTION_STRING
|
||||
- AZURE_STORAGE_CONTAINER_NAME
|
||||
|
||||
|
||||
#. Using a terminal, change directory to the location that you stored the podman-compose file. Run the following
|
||||
command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
podman-compose up -d
|
||||
|
||||
If you would like to specify a project name for your NearBeach instance. Run the
|
||||
following command instead:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
podman-compose up -d --project-name NearBeach
|
||||
|
||||
|
||||
You are now up and running NearBeach in Docker. Visiting the URL you set in the `CSRF_TRUSTED_URLS` in your browser will
|
||||
take you to NearBeach.
|
||||
|
||||
For first time logins, you will need to reset your password. There are two different methods.
|
||||
|
||||
#. Clicking "Reset" password and filling out your email will send you a password reset.
|
||||
|
||||
#. Using a terminal, run the following command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
podman exec -it <<PODMAN-CONTAINER-NAME>> python3 ./manage.py changepassword <<ADMIN_USERNAME>>
|
||||
|
||||
|
||||
This will ask for a new password.
|
||||
218
NearBeach/docs/002-local-development-environment-setup/index.rst
Normal file
@@ -0,0 +1,218 @@
|
||||
.. _local_development_environment:
|
||||
|
||||
Local Development Environment
|
||||
#############################
|
||||
|
||||
| The steps outlined here are to setup this project in local environment so that you can edit the project and test in your local.
|
||||
| If you are want to have a demo or deploy this project. Please head over to :ref:`quick-install-docker`.
|
||||
|
||||
.. warning::
|
||||
This setup is not intended for production environments and do not follow these steps in UAT, DEV, PROD or any other non local environments. The :code:`local/settings.py` file contains a secret_key which will be a security concern.
|
||||
|
||||
|
||||
Contents:
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
:depth: 1
|
||||
|
||||
Prerequsites
|
||||
============
|
||||
|
||||
| The following prerequisites are required to run this project on your local machine.
|
||||
|
||||
Install python 3.10+
|
||||
--------------------
|
||||
|
||||
| Run the following command to check the installed python version
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
python3 --version
|
||||
|
||||
| If you have not installed Python 3.7+ on your local machine, head over to https://www.python.org/downloads/ and download latest version of Python.
|
||||
|
||||
Install Git
|
||||
-----------
|
||||
|
||||
| Run the following command to check the installed git version.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
git --version
|
||||
|
||||
| If you have not installed Git on your local machine, head over to https://git-scm.com/downloads and download the latest version of Git.
|
||||
|
||||
Install pip
|
||||
-----------
|
||||
|
||||
| Run the following command to check the installed pip version.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip3 --version
|
||||
|
||||
| If you have not installed Pip on your local machine, head over to https://pip.pypa.io/en/stable/installation/ and download the latest version of pip.
|
||||
|
||||
Install npm
|
||||
-----------
|
||||
|
||||
| Run the following command to check the installed npm version.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
npm --version
|
||||
|
||||
| If you have not installed npm on your local machine, head over to https://nodejs.org/en/download/ and download the latest version of npm and Node.js.
|
||||
|
||||
Setting up the project
|
||||
======================
|
||||
|
||||
1. | Head over to https://github.com/nearbeach/NearBeach and fork the repository to your own github account. You can skip this step if dont want to fork.
|
||||
|
||||
|
||||
2. Open a terminal, navigate to a folder where you want to setup this project
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
cd /path/to/your/project/folder
|
||||
|
||||
3. Download the project from the forked repository. Copy the link from the forked repository and run the following command in the terminal.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
git clone <<Forked repo URL here>>
|
||||
cd ./NearBeach
|
||||
|
||||
If you have not forked the repository, you can clone the main repository using the following command
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
git clone https://github.com/nearbeach/NearBeach.git
|
||||
cd ./NearBeach
|
||||
|
||||
4. Download and install virtualenv
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo pip3 install virtualenv
|
||||
|
||||
5. Create your own virtual environment for python
|
||||
|
||||
.. note::
|
||||
you can use any name for the virtual environment, but it is recommended to use "venv" as it is already added to the .gitignore file
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
virtualenv venv
|
||||
|
||||
This will create a directory called "venv" in your current directory, this will store the required python libraries for the project
|
||||
|
||||
6. Activate the virtual environment
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
source ./venv/bin/activate
|
||||
|
||||
You terminal prompt will change to indicate that it is working in the virtual environment now. It should look like the following:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
(venv)user@computer NearBeach$:
|
||||
|
||||
7. Install the python libraries
|
||||
|
||||
This will install all the required python libraries for the project
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
8. Create the database
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
python3 manage.py migrate
|
||||
|
||||
9. Create a superuser for the application
|
||||
|
||||
| Execute the following command and fill the user details when prompted.
|
||||
| This user will act as super user for the NearBeach application. Use this user to login to the website once the Django app runs.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
python3 manage.py createsuperuser
|
||||
|
||||
10. Run the Django webserver
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
python3 manage.py runserver
|
||||
|
||||
Alternatively, you can run the server on a different port using the following command
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
python3 manage.py runserver <<Port number>>
|
||||
|
||||
.. attention::
|
||||
|
||||
If you see an error message like "DisallowedHost at /", you need to add 127.0.0.1 to the allowed hosts in the :code:`local/settings.py` file.
|
||||
Open :code:`local/settings.py` file and add :code:`127.0.0.1` to the ALLOWED_HOSTS list
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
ALLOWED_HOSTS = ['127.0.0.1']
|
||||
|
||||
If all the above steps are followed correctly you should see the following output:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
Performing system checks...
|
||||
|
||||
System check identified no issues (0 silenced).
|
||||
October 27, 2024 - 12:00:00
|
||||
Django version 3.2.8, using settings 'NearBeach.settings'
|
||||
Starting development server at http://127.0.0.1:8000/
|
||||
Quit the server with CONTROL-C.
|
||||
|
||||
.. note::
|
||||
| Now that the server is running, you can access the NearBeach login page by visiting http://127.0.0.1:8000/login
|
||||
| You can also access the Django admin page by visiting http://127.0.0.1:8000/admin
|
||||
|
||||
NPM/JavaScript
|
||||
==============
|
||||
|
||||
1. To install all NPM packages, please run the following code
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
npm install
|
||||
|
||||
2. Once npm has finished installing, compile the code using the following command
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
npm run prod
|
||||
|
||||
3. Alternatively, you can run a watch
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
npm run watch
|
||||
|
||||
Whats next
|
||||
==========
|
||||
|
||||
Now the road is clear for you to start contributing.
|
||||
|
||||
Head over to :code:`local/NearBeach` folder. This is where all the python code is stored.
|
||||
|
||||
.. warning::
|
||||
| DO NOT modify :code:`local/settings.py`!
|
||||
| Before commiting the code please revert back the changes that are made to :code:`local/settings.py` file.
|
||||
|
||||
|
||||
.. seealso::
|
||||
Hop on to our discord server - https://discord.gg/64uhRztS6n
|
||||
|
||||
7
NearBeach/docs/003-administration-tasks/api.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
Application Programming Interface
|
||||
#################################
|
||||
|
||||
Api Specific Information
|
||||
========================
|
||||
|
||||
For all documentation on API Points and Schema shapes, please visit our Swagger documentation - https://swagger.nearbeach.org
|
||||
36
NearBeach/docs/003-administration-tasks/first-time-setup.rst
Normal file
@@ -0,0 +1,36 @@
|
||||
First Time Setup for NearBeach
|
||||
##############################
|
||||
|
||||
.. warning::
|
||||
For first time login - log into NearBeach normally, NOT through the administration portal
|
||||
|
||||
|
||||
First Login
|
||||
===========
|
||||
|
||||
1. Use the login page to log into NearBeach
|
||||
|
||||
2. The NearBeach dashboard will load - the administration permissions and groups will be applied to this user and only
|
||||
this user.
|
||||
|
||||
|
||||
Complete your profile
|
||||
=====================
|
||||
|
||||
The code ``python3 ./manage.py createsuperuser`` does not gather all the information required to create a superuser, i.e. First and Last name. You will need to update this data yourself.
|
||||
|
||||
Under the "User" option in the navbar, click on the option "My Profile". This will take you to your profile. Edit your profile appropriately.
|
||||
|
||||
|
||||
Setup User Infrastructure
|
||||
=========================
|
||||
|
||||
.. note:: Users will need to be connected to both a Group and Permission set before being able to log in.
|
||||
|
||||
To setup new users in NearBeach, please follow the following process;
|
||||
|
||||
1. Create the required permission sets - please see :ref:`manage-permission-sets`.
|
||||
|
||||
2. Create the required groups - please see :ref:`manage-groups`.
|
||||
|
||||
3. Finally create the new users and assign them the correct permission sets and groups. Please see :ref:`manage-users`
|
||||
29
NearBeach/docs/003-administration-tasks/manage-groups.rst
Normal file
@@ -0,0 +1,29 @@
|
||||
.. _manage-groups:
|
||||
|
||||
Managing Groups
|
||||
###############
|
||||
|
||||
Create User Groups
|
||||
==================
|
||||
|
||||
.. note::
|
||||
Each group will require a unique name.
|
||||
|
||||
.. note::
|
||||
Users can be in multiple groups, with different permissions to each group
|
||||
|
||||
.. note::
|
||||
Permission sets can be stacked for users within that group. i.e. Read Only user can have extra permissions stacked on top.
|
||||
|
||||
1. Log into NearBeach as an administrator
|
||||
|
||||
2. Choose the "Administration" option in the menu and select the "Groups"
|
||||
|
||||
3. The "Group List" page will load
|
||||
|
||||
4. Click the "Create a new Group" to start creating a new permission list
|
||||
|
||||
Once the group has been created, you will be able to add permission sets + users. User's have to be connected to a permission set.
|
||||
|
||||
.. note::
|
||||
At least one user in the group should be tagged as group leader.
|
||||
@@ -0,0 +1,37 @@
|
||||
.. _manage-permission-sets:
|
||||
|
||||
Managing Permissions Sets
|
||||
#########################
|
||||
|
||||
Setup of Permission Sets
|
||||
========================
|
||||
|
||||
.. note::
|
||||
Permission Sets in NearBeach give you the ability to classify how much access a particular user can have to certain objecst, i.e. Projects and Tasks. The permission sets can be stacked on top of each other.
|
||||
|
||||
Users can also have different permissions between each group. For example, a user might have basic user access to group_A, however only have read only access to group_B.
|
||||
|
||||
1. Log into NearBeach as an administrator
|
||||
|
||||
2. Choose the "Administration" option in the menu and select the "Permission Sets"
|
||||
|
||||
3. The "Permission Set List" page will load
|
||||
|
||||
4. Click the "Create a new Permission Set" to start creating a new permission list
|
||||
|
||||
.. note::
|
||||
There are 4 different levels of permissions;
|
||||
|
||||
- 'No Permission' - the user will not have any permissions
|
||||
- 'Read Only' - the user will only have read only access
|
||||
- 'Edit Only' - user will be able to edit already existing objects, i.e. Projects
|
||||
- 'Add and Edit' - user will be able to create objects, i.e. New Projects
|
||||
- 'Full Permission' - users will be able to do the above permissions and delete objects.
|
||||
|
||||
.. note::
|
||||
The permissions are broken up into three sections;
|
||||
|
||||
- 'Administration Permissions' - This contains any administration permissions. It is not recommended granting these to any basic users.
|
||||
- 'Normal Permissions' - Are used to determine a user's permission to objects and different modules within said objects.
|
||||
- 'Addon Permissions' - These are extra permissions designed for read only users.
|
||||
|
||||
77
NearBeach/docs/003-administration-tasks/manage-users.rst
Normal file
@@ -0,0 +1,77 @@
|
||||
.. _manage-users:
|
||||
|
||||
Managing Users
|
||||
##############
|
||||
|
||||
Create New Users
|
||||
================
|
||||
|
||||
1. Log into NearBeach as an administrator
|
||||
|
||||
2. Choose the "Administration" option in the menu and select the "Users"
|
||||
|
||||
3. The "User List" page will load
|
||||
|
||||
4. Click the "Create a new User" to start creating a new user
|
||||
|
||||
|
||||
Assigning Permissions and Groups to Users
|
||||
=========================================
|
||||
|
||||
1. Log into NearBeach as an administrator
|
||||
|
||||
2. Choose the "Administration" option in the menu and select the "Users"
|
||||
|
||||
3. The "User List" page will load
|
||||
|
||||
4. Search for the user
|
||||
|
||||
5. Click on the appropriate user
|
||||
|
||||
6. User information page will load
|
||||
|
||||
7. Scroll to the "User List" section
|
||||
|
||||
8. Click on the "Add User" button
|
||||
|
||||
9. A permission modal will appear. Select the correct permission set and group. Click "Add user" to add the permission sets and groups to the user
|
||||
|
||||
|
||||
.. note::
|
||||
To annotate that the user is a team leader for that group - tick the checkbox for that group
|
||||
|
||||
|
||||
Removing User from system
|
||||
=========================
|
||||
|
||||
1. Log into NearBeach as an administrator
|
||||
|
||||
2. Choose the "Administration" option in the menu and select the "Users"
|
||||
|
||||
3. The "User List" page will load
|
||||
|
||||
4. Search for the user
|
||||
|
||||
5. Click on the appropriate user
|
||||
|
||||
6. User information page will load
|
||||
|
||||
7. Scroll to the "User List" section
|
||||
|
||||
8. Remove all groups and permissions the user has. This will effectively remove them from the system. They will not be able to log into NearBeach
|
||||
|
||||
9. Un-tick the "User Active" tick box and then save
|
||||
|
||||
NearBeach does not recommend deleting users. As a delete command will cause a cascade of deletes, and will delete any object that has been modified by the user, or created by them. This will result in data loss.
|
||||
|
||||
If the user will need to go through a deletion process, brought on by GDPR (General Data Protection Regulation), we are currently writing functionality to tackle this. The functionality will;
|
||||
|
||||
#. Rename the user - and remove any credentials, and reset user's password.
|
||||
|
||||
#. Profile pictures will be delete from the blob storage
|
||||
|
||||
#. The system will remove any object assignments to the user
|
||||
|
||||
#. The system will migrate any "Change User" or "Creation user" records to a user id of choice.
|
||||
|
||||
The user is essentially dead information at this point, without the need of a destructive delete.
|
||||
355
NearBeach/docs/003-administration-tasks/system-variables.rst
Normal file
@@ -0,0 +1,355 @@
|
||||
.. _system-variables:
|
||||
|
||||
System Variables
|
||||
################
|
||||
|
||||
The following django system variables are required by NearBeach;
|
||||
|
||||
* SECRET_KEY
|
||||
* ALLOWED_HOSTS
|
||||
* CSRF_TRUSTED_URLS
|
||||
* DB_DATABASE
|
||||
* DB_ENGINE
|
||||
* DB_HOST
|
||||
* DB_PASSWORD
|
||||
* DB_PORT
|
||||
* DB_USER
|
||||
|
||||
Blob Storage
|
||||
============
|
||||
|
||||
Azure
|
||||
-----
|
||||
|
||||
AZURE_STORAGE_CONNECTION_STRING
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
`Please refer to the Microsoft Azure documentation for setting up and obtaining the connection string.`_
|
||||
|
||||
Example:
|
||||
|
||||
* `AZURE_STORAGE_CONNECTION_STRING=defaultendpointsprotocol=https;accountname=accountname;accountkey=accountkey;endpointsuffix=core.windows.net/`
|
||||
|
||||
AZURE_STORAGE_CONTAINER_NAME
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
The name of the Azure Blob storage
|
||||
|
||||
Example:
|
||||
|
||||
* `AZURE_STORAGE_CONTAINER_NAME=blobstorage`
|
||||
|
||||
|
||||
S3/Minio
|
||||
--------
|
||||
|
||||
`For setup of AWS S3 connections, please refer to the AWS IAMS documentation`_
|
||||
|
||||
`For setup of Minio connections, please refer to the Minio Access Control documentation`_
|
||||
|
||||
`For any Boto3 information, please refer to the Boto3 documentation`_
|
||||
|
||||
AWS_ACCESS_KEY_ID
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
This references the Access Key Id
|
||||
|
||||
Example:
|
||||
|
||||
* `AWS_ACCESS_KEY_ID=hfOlT4DrY9VkyiMLCKn9`
|
||||
|
||||
|
||||
AWS_SECRET_ACCESS_KEY
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This references the Secret Access Key
|
||||
|
||||
Example:
|
||||
|
||||
* `AWS_SECRET_ACCESS_KEY=sET3GI24o3sn3mFiFbIMUGyz9CrgdqIOot011THy`
|
||||
|
||||
AWS_STORAGE_BUCKET_NAME
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This references the S3 Bucket name
|
||||
|
||||
Example:
|
||||
|
||||
* `AWS_STORAGE_BUCKET_NAME=NearBeachBucket`
|
||||
|
||||
AWS_S3_ENDPOINT_URL
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This references the S3 Endpoint url
|
||||
|
||||
Example:
|
||||
|
||||
* `AWS_S3_ENDPOINT_URL=http://localhost:9000`
|
||||
* `AWS_S3_ENDPOINT_URL=https://s3.bucket.nearbeach.cloudstorage.com`
|
||||
|
||||
Database
|
||||
========
|
||||
|
||||
DB_DATABASE
|
||||
-----------
|
||||
|
||||
`More information on Django Databases can be found on their documentation.`_ This represent the name of the database.
|
||||
|
||||
No default is set, user will need to set.
|
||||
|
||||
Example:
|
||||
|
||||
* `DB_DATABASE=nearbeach_db`
|
||||
|
||||
|
||||
DB_ENGINE
|
||||
---------
|
||||
|
||||
`More information on Django Databases can be found on their documentation.`_ This represent the database engine.
|
||||
|
||||
No default is set, user wil need to set.
|
||||
|
||||
Example:
|
||||
|
||||
* `DB_ENGINE=postgresql` <- Connects to a Postgres Database
|
||||
* `DB_ENGINE=mysql` <- Connects to either a MySQL or MariaDb database
|
||||
* `DB_ENGINE=` <- Connects to a Postgres Database
|
||||
* `DB_ENGINE=oracle` <- Connects to an Oracle Database
|
||||
|
||||
|
||||
DB_HOST
|
||||
-------
|
||||
|
||||
`More information on Django Databases can be found on their documentation.`_ This represents the location of the database.
|
||||
|
||||
No default is set, user wil need to set.
|
||||
|
||||
Example:
|
||||
|
||||
* `DB_HOST=127.0.0.1` <- Connects to a database at localhost
|
||||
* `DB_HOST=nearbeach-db.cloudservices.hosting` <- Connects to a database at nearbeach-db.cloudservices.hosting
|
||||
|
||||
DB_PASSWORD
|
||||
-----------
|
||||
|
||||
`More information on Django Databases can be found on their documentation.`_ This is the password for the database.
|
||||
|
||||
No default is set, user wil need to set.
|
||||
|
||||
Example:
|
||||
|
||||
* `DB_PASSWORD=mysecretpassword`
|
||||
|
||||
DB_PORT
|
||||
-------
|
||||
|
||||
`More information on Django Databases can be found on their documentation.`_ This represent the port for the database.
|
||||
|
||||
No default is set, user wil need to set.
|
||||
|
||||
Example:
|
||||
|
||||
* `DB_PORT=3306`
|
||||
* `DB_PORT=5432`
|
||||
|
||||
DB_USER
|
||||
-------
|
||||
`More information on Django Databases can be found on their documentation.`_ This is the username for the database.
|
||||
|
||||
No default is set, user wil need to set.
|
||||
|
||||
Example:
|
||||
|
||||
* `DB_USER=nearbeach_db_user`
|
||||
|
||||
|
||||
Django System Variables
|
||||
=======================
|
||||
|
||||
SECRET_KEY
|
||||
----------
|
||||
|
||||
`More information can be located on the Django Documentation.`_ We recommend setting up this variable using the `following information from this Humberto's blog`_
|
||||
|
||||
|
||||
ALLOWED_HOSTS
|
||||
-------------
|
||||
|
||||
`More information can be located on the Django Documentation.`_
|
||||
|
||||
Allowed Hosts should reference which URLs will be connected to the NearBeach system. If there are multiple URLs, each
|
||||
url can be separated by a commar. Do not include the http or port number
|
||||
|
||||
Default will allow ALL hosts - we do not recomment
|
||||
|
||||
Example:
|
||||
|
||||
* `- ALLOWED_HOST=demo.nearbeach.org`
|
||||
* `- ALLOWED_HOST=demo.nearbeach.org,test.nearbeach.org`
|
||||
* `- ALLOWED_HOST=localhost,127.0.0.1`
|
||||
|
||||
|
||||
CSRF_TRUSTED_URLS
|
||||
-----------------
|
||||
|
||||
`More information can be located on the Django Documentation.`_
|
||||
|
||||
Csrf trusted urls should reference the exact urls form submissions will be coming from. If there are multiple URLs, each
|
||||
url can be separated by a commar. Please include the http/https and, if required, port number.
|
||||
|
||||
Default will allow ALL hosts - we do not recommend.
|
||||
|
||||
Example:
|
||||
|
||||
* `CSRF_TRUSTED_URLS=https://demo.nearbeach.org`
|
||||
* `CSRF_TRUSTED_URLS=https://demo.nearbeach.org,https://test.nearbeach.org:8080`
|
||||
* `CSRF_TRUSTED_URLS=http://localhost:8000,http://127.0.0.1:8000`
|
||||
|
||||
|
||||
DEBUG
|
||||
-----
|
||||
|
||||
Default will be false. Only use this on production to debug an issue.
|
||||
|
||||
DOCUMENTATION_CLEAN_UP
|
||||
----------------------
|
||||
|
||||
Used to notify the system to run periodic checks to clean up the Blob storage from any documenation that does not current
|
||||
have a link to any object within NearBeach. It is designed so that old documentation that has been removed, is cleaned
|
||||
from the BLOB storage.
|
||||
|
||||
Default will be false.
|
||||
|
||||
Example:
|
||||
|
||||
* `DOCUMENTATION_CLEAN_UP=True`
|
||||
* `DOCUMENTATION_CLEAN_UP=False`
|
||||
|
||||
DOCUMENTATION_CLEAN_AFTER_DAYS
|
||||
------------------------------
|
||||
|
||||
Used to notify the system the PERIOD on which to run the document clean up process.
|
||||
|
||||
Default will be 90 days
|
||||
|
||||
Example:
|
||||
|
||||
* `DOCUMENTATION_CLEAN_AFTER_DAYS=120` <- cleaned up every 120 days
|
||||
* `DOCUMENTATION_CLEAN_AFTER_DAYS=365` <- cleaned up once a year
|
||||
* `DOCUMENTATION_CLEAN_AFTER_DAYS=7` <- cleaned up each week
|
||||
|
||||
|
||||
MAX_FILE_SIZE_UPLOAD
|
||||
--------------------
|
||||
|
||||
The maximum size for a file to be uploaded in bytes.
|
||||
|
||||
Default will be 104857600 bytes (104mb)
|
||||
|
||||
Example:
|
||||
|
||||
* `MAX_FILE_SIZE_UPLOAD=1048` <- 1kb
|
||||
* `MAX_FILE_SIZE_UPLOAD=1048000` <- 1mb
|
||||
* `MAX_FILE_SIZE_UPLOAD=1048000000` <- 1Gb
|
||||
|
||||
+----------------------+-----------------+---------------+
|
||||
| Human Readable Value | MAX_FILE_UPLOAD | Notes |
|
||||
+======================+=================+===============+
|
||||
| 100MB | 104857600 | Default Value |
|
||||
+----------------------+-----------------+---------------+
|
||||
| 10MB | 10485760 | |
|
||||
+----------------------+-----------------+---------------+
|
||||
| 1GB | 1048576000 | |
|
||||
+----------------------+-----------------+---------------+
|
||||
|
||||
|
||||
SESSION_COOKIE_AGE
|
||||
------------------
|
||||
|
||||
`More information can be located on the Django Documentation.`_
|
||||
|
||||
Used to define how long a session cookie will last.
|
||||
|
||||
Default: 1209600 seconds (2 weeks)
|
||||
|
||||
Example:
|
||||
|
||||
* `SESSION_COOKIE_AGE=1209600` <- 2 weeks
|
||||
* `SESSION_COOKIE_AGE=3360` <- 24 hours
|
||||
|
||||
+----------------------+-----------------+-------------------+
|
||||
| Human Readable Value | MAX_FILE_UPLOAD | Notes |
|
||||
+======================+=================+===================+
|
||||
| 2 weeks | 1209600 | Default Value |
|
||||
+----------------------+-----------------+-------------------+
|
||||
| 1 hour | 3600 | Recommended Value |
|
||||
+----------------------+-----------------+-------------------+
|
||||
| 30 min | 1800 | |
|
||||
+----------------------+-----------------+-------------------+
|
||||
|
||||
SESSION_SAVE_EVERY_REQUEST
|
||||
--------------------------
|
||||
|
||||
`More information can be located on the Django Documentation.`_
|
||||
|
||||
Default will be false.
|
||||
|
||||
Example:
|
||||
|
||||
* `DOCUMENTATION_CLEAN_UP=True`
|
||||
* `DOCUMENTATION_CLEAN_UP=False`
|
||||
|
||||
|
||||
Email/SMTP
|
||||
==========
|
||||
|
||||
`More information on Django SMTP can be found on their documentation`_
|
||||
|
||||
SMTP_EMAIL_HOST
|
||||
---------------
|
||||
|
||||
The SMTP host
|
||||
|
||||
Example:
|
||||
|
||||
* `SMTP_EMAIL_HOST=email-smtp.us-east-2.amazonaws.com`
|
||||
* `SMTP_EMAIL_HOST=smtp.gmail.com`
|
||||
|
||||
SMTP_EMAIL_PORT
|
||||
---------------
|
||||
|
||||
SMTP Email Port
|
||||
|
||||
Example:
|
||||
|
||||
* `SMTP_EMAIL_PORT=465`
|
||||
|
||||
|
||||
SMTP_EMAIL_HOST_USER
|
||||
--------------------
|
||||
|
||||
SMTP Email host user
|
||||
|
||||
Example:
|
||||
|
||||
* `SMTP_EMAIL_USER=smtpuser`
|
||||
|
||||
SMTP_EMAIL_HOST_PASSWORD
|
||||
------------------------
|
||||
|
||||
SMTP Email Host password
|
||||
|
||||
Example:
|
||||
|
||||
* `SMTP_EMAIL_PASSWORD=secretPassword`
|
||||
|
||||
|
||||
|
||||
.. _More Information can be located on the Django Documentation.: https://docs.djangoproject.com/en/dev/ref/settings/
|
||||
.. _following information from this Humberto's blog: https://humberto.io/blog/tldr-generate-django-secret-key/
|
||||
.. _More information on Django Databases can be found on their documentation.: https://docs.djangoproject.com/en/dev/ref/databases/
|
||||
.. _Please refer to the Microsoft Azure documentation for setting up and obtaining the connection string.: https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal
|
||||
.. _For setup of AWS S3 connections, please refer to the AWS IAMS documentation: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console
|
||||
.. _For setup of Minio connections, please refer to the Minio Access Control documentation: https://docs.min.io/enterprise/aistor-object-store/administration/iam/access/
|
||||
.. _For any Boto3 information, please refer to the Boto3 documentation: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#configuration
|
||||
.. _More information on Django SMTP can be found on their documentation: https://docs.djangoproject.com/en/5.2/ref/settings/
|
||||
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 135 KiB |
268
NearBeach/docs/004-basic-usage/common-usage/index.rst
Normal file
@@ -0,0 +1,268 @@
|
||||
.. _common_usage:
|
||||
|
||||
Common Usage
|
||||
############
|
||||
|
||||
This covers common usage within NearBeach. For example adding a group to an object. This is the same method no matter if
|
||||
you are on a project/task/requirement etc.
|
||||
|
||||
Some objects will not contain certain functionality, for example you can't add/remove Users or groups from a requirement item.
|
||||
|
||||
Add Group To Object
|
||||
===================
|
||||
|
||||
.. image:: group-and-users-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Groups and Users section
|
||||
|
||||
#. On the "Group and Users" tab, click on the "Add Group to {object}" button
|
||||
|
||||
#. The "Add Group Wizard" will appear
|
||||
|
||||
.. image:: add-group-wizard-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the "Add Group Wizard"
|
||||
|
||||
#. Select one or more groups from the drop down
|
||||
|
||||
#. Click on the "Add Group(s)" button
|
||||
|
||||
Assign Customer To Object
|
||||
=========================
|
||||
|
||||
.. image:: group-and-users-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Groups and Users section
|
||||
|
||||
#. On the "Group and Users" tab, clic on the "Add User to {object}" button
|
||||
|
||||
#. The "Add User Wizard" will appear
|
||||
|
||||
.. image:: add-user-wizard-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the "Add User Wizard"
|
||||
|
||||
#. Select one or more users from the drop down. Please note, a user must exist in the groups currently assigned to the object
|
||||
|
||||
#. Click on the "Add User(s)" button
|
||||
|
||||
Linked Objects
|
||||
==============
|
||||
|
||||
.. image:: link-object-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Linked Objects
|
||||
|
||||
Linked objects are other objects within NearBeach that currently;
|
||||
|
||||
- Relates to the object
|
||||
- Is Blocked by the object
|
||||
- Is Currently Blocking the object
|
||||
- Is sub object of current object
|
||||
- Is parent object of the current object
|
||||
- Is the duplicate of the object
|
||||
- Is duplicate object of the current object
|
||||
|
||||
These are used to connect all the objects together in NearBeach.
|
||||
|
||||
Add Link to Current Object
|
||||
--------------------------
|
||||
|
||||
#. Click on the "Create new link" button, and the "Link Wizard" will appear
|
||||
|
||||
#. Select the type of object you wish to link
|
||||
|
||||
#. Project
|
||||
|
||||
#. Requirement
|
||||
|
||||
#. Requirement Item
|
||||
|
||||
#. Task
|
||||
|
||||
#. Select the type of link you would like
|
||||
|
||||
#. Relates To
|
||||
|
||||
#. Is Blocked By
|
||||
|
||||
#. Is Blocking
|
||||
|
||||
#. Sub Object
|
||||
|
||||
#. Parent Object
|
||||
|
||||
#. Duplicate of
|
||||
|
||||
#. Has Duplicate
|
||||
|
||||
#. System will search for all appropriate objects, and display them in the card format.
|
||||
|
||||
#. Use the search or pages to filter for the data you require.
|
||||
|
||||
#. Tick those appropriate. Changing pages, or applying a filter will NOT remove those ticked.
|
||||
|
||||
#. Click on the "Save Changes" button at the bottom of the modal to add the links
|
||||
|
||||
Remove Link From Current Object
|
||||
-------------------------------
|
||||
|
||||
#. Click on the trash icon on the link object
|
||||
|
||||
#. The confirmation modal will appear
|
||||
|
||||
#. If the connection is a "block" link, you may change this to a "related" link by clicking on the "Migrate Link" button
|
||||
|
||||
#. Otherwise clicking on the "Delete" button will remove the link
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
The documentation functionality gives you the ability to upload required information against a single object.
|
||||
|
||||
Uploading Documentation
|
||||
-----------------------
|
||||
|
||||
Uploads the documentation to the blob storage configured in your account.
|
||||
|
||||
#. Click on the "New Document/File" dropdown
|
||||
|
||||
#. Click on the "Upload Document"
|
||||
|
||||
#. The "Upload Document" wizard will appear.
|
||||
|
||||
#. Click "Browser" to find a document on your local system
|
||||
|
||||
#. Clicking next will bring you to the renaming screen. Please note, documents should have a unqiue name
|
||||
|
||||
#. Click next will upload the document
|
||||
|
||||
Creating Links
|
||||
--------------
|
||||
|
||||
Links are useful for attaching external documentation, or any useful information i.e sharepoint documentation
|
||||
|
||||
#. Click on the "New Document/File" dropdown
|
||||
|
||||
#. Click on the "Link" button
|
||||
|
||||
#. The "Add Link Wizard" will appear - fill out appropriately and hit save
|
||||
|
||||
Creating Folders
|
||||
----------------
|
||||
|
||||
Folders help you organise the documentation
|
||||
|
||||
#. Click on the "new Document/File" dropdown
|
||||
|
||||
#. Click on the "Folder" button
|
||||
|
||||
#. The "Add Folder Wizard" will appear - fill out appropriate and hit save
|
||||
|
||||
Moving Documents/Links/Folders
|
||||
------------------------------
|
||||
|
||||
Dragging and dropping the documents/links/folders will give you the ability to move objects around.
|
||||
|
||||
Customer Links
|
||||
==============
|
||||
|
||||
.. image:: customers-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the customer links
|
||||
|
||||
You will be able to see what current objects are connected to a customer by visiting the customer profile.
|
||||
|
||||
|
||||
Adding Customers To Objects
|
||||
---------------------------
|
||||
|
||||
#. Click on the "Add Customer" button
|
||||
|
||||
#. The "Add Customer Wizard" will appear
|
||||
|
||||
#. Select the appropriate customer from the dropdown
|
||||
|
||||
#. Click on "Save Changes" to add the current customer to this object
|
||||
|
||||
Remove Customers from Object
|
||||
----------------------------
|
||||
|
||||
#. Click on the trash logo next to the customer card
|
||||
|
||||
#. A confirmation modal will appear
|
||||
|
||||
#. Click "Yes" to remove the customer from this object
|
||||
|
||||
Sprints Functionality
|
||||
=====================
|
||||
|
||||
.. image:: sprints-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screen shot of sprints
|
||||
|
||||
Please see the :ref:`Sprint Documentation<sprint_crud>`
|
||||
|
||||
Misc
|
||||
====
|
||||
|
||||
.. image:: misc-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Misc section
|
||||
|
||||
Assigning Tags To Objects
|
||||
-------------------------
|
||||
|
||||
#. Click on the "Add tag to {object}" button
|
||||
|
||||
#. The "Add Tag Wizard" will appear
|
||||
|
||||
#. Select the appropriate tags from the dropdown
|
||||
|
||||
#. Click on "Add Tag" button to add them.
|
||||
|
||||
To remove any unwanted tags, click click on the trash icon
|
||||
|
||||
Creating Public Links for Objects
|
||||
---------------------------------
|
||||
|
||||
#. Click on the "Add Public Link" button
|
||||
|
||||
#. A new public link will be created right away
|
||||
|
||||
You have the ability to create as many public links as you need. You can deactivate them by unticking the "Is Active" tickbox
|
||||
|
||||
To delete any public links, just click on the trash icon and confirm the deletion.
|
||||
|
||||
Notes
|
||||
=====
|
||||
|
||||
Add Note to Object
|
||||
------------------
|
||||
|
||||
#. Click on the "Add Note" button
|
||||
|
||||
#. The "Add Note Wizard" will appear
|
||||
|
||||
#. Create an appropriate note for the object and click on "Save"
|
||||
|
||||
|
||||
Edit Note
|
||||
---------
|
||||
|
||||
Users can only edit their own notes.
|
||||
|
||||
#. Next to the note, click on the "Edit" button
|
||||
|
||||
#. The "Edit Note Wizard" will appear
|
||||
|
||||
#. Edit the note appropriately and click on the "Save" button
|
||||
|
||||
Delete Note
|
||||
-----------
|
||||
|
||||
Users can only delete their own notes.
|
||||
|
||||
#. Next to the note, click on the "Delete" button
|
||||
|
||||
#. The confirmation wizard will appear, click on "Yes"
|
||||
|
After Width: | Height: | Size: 139 KiB |
BIN
NearBeach/docs/004-basic-usage/common-usage/misc-screenshot.png
Normal file
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 128 KiB |
BIN
NearBeach/docs/004-basic-usage/customer/customer-screenshot.png
Normal file
|
After Width: | Height: | Size: 302 KiB |
55
NearBeach/docs/004-basic-usage/customer/customer_crud.rst
Normal file
@@ -0,0 +1,55 @@
|
||||
.. _customer_crud:
|
||||
|
||||
Customers
|
||||
#########
|
||||
|
||||
.. image:: customer-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of Customer inside NearBeach
|
||||
|
||||
Customers are used to store basic contact details, and track tasks and projects assigned to the customer.
|
||||
|
||||
|
||||
Create Customer
|
||||
===============
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Customer"
|
||||
|
||||
#. The "New Customer" page will load. Fill out the customer form appropriately
|
||||
|
||||
#. If the customer is linked to an organisation. Click on the select. It currently only shows 10 Organisations. However
|
||||
typing into the search, will search for other options. Give it a few seconds.
|
||||
|
||||
#. Click on the "Submit Customer" at the bottom of the page
|
||||
|
||||
Search Customer
|
||||
===============
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "Customers"
|
||||
|
||||
#. The "List Customer" page will load. Use the search filter to filter for the appropriate customer.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
Update Customer
|
||||
===============
|
||||
|
||||
#. Use the method above to find the appropriate Customer you wish to edit.
|
||||
|
||||
#. Edit the Customer, and once completed click on the "Update Customer" button
|
||||
|
||||
|
||||
.. note:: To update/change profile pictures. Click on the "Update Profile" button.
|
||||
Profile pictures are updated automatically when saved.
|
||||
|
||||
|
||||
Misc Features
|
||||
=============
|
||||
|
||||
.. image:: misc_features_customers.png
|
||||
:width: 600
|
||||
:alt: Screenshot of Misc Features against Organisation
|
||||
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 311 KiB |
@@ -0,0 +1,176 @@
|
||||
.. _kanban_board_crud:
|
||||
|
||||
Kanban Board
|
||||
############
|
||||
|
||||
.. image:: kanban-board-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Kanban Board functionality
|
||||
|
||||
Users will be able to create their own kanban board.
|
||||
|
||||
|
||||
Create Kanban Board
|
||||
===================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click the option "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Kanban Board"
|
||||
|
||||
#. The "New Kanban Board" page will load.
|
||||
|
||||
#. Create a unique name for the kanban board. If the board already exists, it will notify you in red text.
|
||||
|
||||
#. In the level section, the cards can be moved around to represent their order on the board. Double clicking on the cards will allow the user to edit the description of the level.
|
||||
|
||||
#. In the column section, the cards can be moved around to represent their order on the board. Double clicking on the card will allow the user to edit the description and the column's property. The column's properties can be broken down into;
|
||||
|
||||
* Backlog - marks the card as being in backlog.
|
||||
|
||||
* Normal - marks the card as being normal
|
||||
|
||||
* Blocked - marks the card as being blocked. A dialog will appear when a card is moved into this location
|
||||
|
||||
* Completed - marks the card as being completed.
|
||||
|
||||
#. Pick the appropriate groups from the selection box.
|
||||
|
||||
#. Click on the "Add kanban" button for the kanban board to be created.
|
||||
|
||||
Search Kanban Board
|
||||
===================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "List all Objects"
|
||||
|
||||
#. The "Search" page will load. Use the search field to search for your required kanban board.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
Update Kanban Board Settings
|
||||
============================
|
||||
|
||||
.. image:: kanban-board-edit-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of editing the kanban board settings
|
||||
|
||||
|
||||
#. On the kanban board information page, click on the drop down "Kanban Menu"
|
||||
|
||||
#. In the dropdown menu, choose the option "Edit Kanban"
|
||||
|
||||
#. The "Edit Kanban" page will now load
|
||||
|
||||
#. Make the appropriate changes on this page, once done hit the "Back to Kanban Board"
|
||||
|
||||
.. note:: All changes are saved automatically
|
||||
|
||||
.. note:: Double clicking on either the column/level cards will open the edit modal for them.
|
||||
|
||||
Create a New Card
|
||||
=================
|
||||
|
||||
Using Menu
|
||||
----------
|
||||
|
||||
#. On the kanban board information page, click on the drop down "Kanban Menu"
|
||||
|
||||
#. In the dropdown menu, choose the option "Add New Card"
|
||||
|
||||
#. The "New Card Modal" will appear, fill it out appropriately
|
||||
|
||||
Using Board
|
||||
-----------
|
||||
|
||||
#. On the kanban board information page, move your mouse across the board
|
||||
|
||||
#. In the appropriate cell, click on the button "New Card"
|
||||
|
||||
#. The "New Card Modal" will appear, fill it out appropriately
|
||||
|
||||
Link in existing Projects and Tasks
|
||||
===================================
|
||||
|
||||
Using Kanban Board Menu
|
||||
-----------------------
|
||||
|
||||
#. On the kanban board information page, click on the drop down "Kanban Menu"
|
||||
|
||||
#. In the dropdown menu, choose the option "Add New Link to Object"
|
||||
|
||||
#. The "New Kanban Link Wizard" modal will appear
|
||||
|
||||
#. Use the search options to find the appropriate object, select and then add to the board
|
||||
|
||||
Using Kanban Board
|
||||
------------------
|
||||
|
||||
#. On the kanban board information page, move your mouse across the board
|
||||
|
||||
#. In the appropriate cell, click on the button "Link Object"
|
||||
|
||||
#. The "New Kanban Link Wizard" modal will appear
|
||||
|
||||
#. Use the search options to find the appropriate object, select and then add to the board
|
||||
|
||||
Editing Cards
|
||||
=============
|
||||
|
||||
Users will be able to edit a card by either double clicking on the card, or clicking on the (i) information icon.
|
||||
|
||||
.. note:: Any linked objects will not open the card modal. Instead they will go directly to that object.
|
||||
|
||||
Card Edit Modal
|
||||
===============
|
||||
|
||||
The card edit modal is broken up into the following sections;
|
||||
|
||||
* Details
|
||||
* Description
|
||||
* Note
|
||||
* Users
|
||||
* Downloads
|
||||
* Misc
|
||||
|
||||
Card Details
|
||||
------------
|
||||
|
||||
This tab stores the following information for the card;
|
||||
|
||||
* Card title - the title of the card as displayed on the board
|
||||
* Card priorty - the priority of the card as displayed on the board
|
||||
* Card location - the location of the card on the board
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
This tab stores the description of the card. Users will be able to use the description field to bring more detail into
|
||||
the card.
|
||||
|
||||
Note
|
||||
----
|
||||
|
||||
This tab stores all the notes made against the card. It even stores the "Blocked" notes, when a card has been moved into
|
||||
the blocked column. Users will be able to edit their prior notes.
|
||||
|
||||
Users
|
||||
-----
|
||||
|
||||
This tab stores which users have been assigned to this card
|
||||
|
||||
Downloads
|
||||
---------
|
||||
|
||||
This tab stores the documents uploaded against this card. Each card can hold separate documents.
|
||||
|
||||
Kanban Board Misc
|
||||
-----------------
|
||||
|
||||
This tab stores the assigned tags and the public links.
|
||||
|
||||
To add an assign tag, please click the "Add Tag to Kanban Card" and follow the wizard. To remove a tag, click on the
|
||||
"delete" icon against the tag.
|
||||
|
||||
To create a public link please click the "Create public link". This link can be shared with the public and they will
|
||||
have basic access to the kanban card. To delete the public link please click on the "delete" icon.
|
||||
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 217 KiB |
@@ -0,0 +1,65 @@
|
||||
.. _organisation_crud:
|
||||
|
||||
Organisation
|
||||
############
|
||||
|
||||
.. image:: organisation-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of Organisation inside NearBeach
|
||||
|
||||
Organisations are used to store basic contact details.
|
||||
|
||||
Create An Organisation
|
||||
======================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Organisation"
|
||||
|
||||
#. The "New Organisation" page will load. Fill out the organisation form appropriately
|
||||
|
||||
#. Once completed, click on the "Add Organisation" button
|
||||
|
||||
|
||||
.. note:: If the system detects a duplicated organisation. It will return back to this page to get confirmation. If this
|
||||
organisation is a duplicate, just leave the page. If it is not a duplicate please click the "Submit Organisation" button
|
||||
|
||||
.. image:: duplicated_organisation.png
|
||||
:width: 600
|
||||
:alt: Screenshot of Organisation inside NearBeach
|
||||
|
||||
|
||||
Search An Organisation
|
||||
======================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "List Organisation"
|
||||
|
||||
#. The "List Organisations" page will load. Use the search field to search for your required organisation.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
|
||||
Update An Organisation
|
||||
======================
|
||||
|
||||
#. Use the method above to find the appropriate Organisation you wish to edit.
|
||||
|
||||
#. Edit the Organisation, and once completed click on the "Update Organisation" button
|
||||
|
||||
.. note:: To update/change profile pictures. Click on the "Update Profile" button.
|
||||
Profile pictures are updated automatically when saved.
|
||||
|
||||
Organisation Misc Features
|
||||
==========================
|
||||
|
||||
.. image:: misc_features_organisation.png
|
||||
:width: 600
|
||||
:alt: Screenshot of Organisation inside NearBeach
|
||||
|
||||
* Connection with Organisation Customers
|
||||
* Ability to upload documents against an organisation
|
||||
* Ability to find current open associated objects, i.e. currently opened projects and tasks
|
||||
* Ability to assign tags to an organisation
|
||||
* Ability to write notes against an organisation
|
||||
BIN
NearBeach/docs/004-basic-usage/project/project-screenshot.png
Normal file
|
After Width: | Height: | Size: 165 KiB |
56
NearBeach/docs/004-basic-usage/project/project_crud.rst
Normal file
@@ -0,0 +1,56 @@
|
||||
.. _project_crud:
|
||||
|
||||
Projects
|
||||
########
|
||||
|
||||
.. image:: project-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Project
|
||||
|
||||
|
||||
Create Project
|
||||
==============
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Project"
|
||||
|
||||
#. The "New Project" page will load. Fill out the form appropriately and click on the "Create New Project"
|
||||
|
||||
|
||||
Search Project
|
||||
==============
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "List all Objects"
|
||||
|
||||
#. The "Search" page will load. Use the search field to search for your required project.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
Update Project
|
||||
==============
|
||||
|
||||
#. Use the method above to find the appropriate Project you wish to edit.
|
||||
|
||||
#. Edit the Project, and once completed click on the "Update Project" button
|
||||
|
||||
Misc Project Functionality
|
||||
==========================
|
||||
|
||||
.. image:: project_misc_functionality.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the project misc functionality
|
||||
|
||||
The following are misc/common functionality;
|
||||
|
||||
* **Add Group To Project -** :ref:`More Information <Add Group To Object>`
|
||||
* **Assign Customer To Project -** :ref:`More Information <Assign Customer To Object>`
|
||||
* **Adding Links to current Object -** :ref:`More Information <Linked Objects>`
|
||||
* **Documentation -** :ref:`More Information <Documentation>`
|
||||
* **Adding Customers To Projects -** :ref:`More Information <Adding Customers To Objects>`
|
||||
* **Creating New Sprints -** :ref:`More Information <Creating New Sprints>`
|
||||
* **Assigning Tags To Projects -** :ref:`More Information <Assigning Tags to Objects>`
|
||||
* **Creating Public Links for Projects -** :ref:`More Information <Creating Public Links for Objects>`
|
||||
* **Writing Notes for A Project -** :ref:`More Information <Notes>`
|
||||
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 97 KiB |
@@ -0,0 +1,114 @@
|
||||
.. _request_for_change:
|
||||
|
||||
Request For Change
|
||||
##################
|
||||
|
||||
.. image:: request-for-change-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Request for Change Wizard
|
||||
|
||||
|
||||
Request for changes are used to notify all stakeholders of a deployment and it's processes. These are usually
|
||||
managed by the "Change Advisory Board" and should detail out which responsibilities falls on which users. Exactly
|
||||
what time a task will be implemented and how long it will take.
|
||||
|
||||
Create New Request For Change
|
||||
=============================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Request for Change"
|
||||
|
||||
#. The "New Request for Change" wizard will load. The steps are broken down into;
|
||||
|
||||
#. **Description** - A basic description/summary of the RFC and what it entails
|
||||
|
||||
#. **Detail** - Detailing the priorty of the RFC along with those responsible
|
||||
|
||||
#. **Risk** - Outlining the risk of the RFC, and the implications if RFC is not implemented
|
||||
|
||||
#. **Implementation** - Outline of the process around implementing
|
||||
|
||||
#. **Back out** - Outline of the back out plan if something goes wrong
|
||||
|
||||
#. **Test plan** - Outline the test plan to make sure all services are functioning
|
||||
|
||||
#. Fill out all the fields with appropriate information and submit. You will be redirected to the newly created RFC draft.
|
||||
|
||||
#. You will now be able to create the run sheet, by adding in "Change Tasks". Once completed, submit the RFC for approval
|
||||
|
||||
Search for Request For Change
|
||||
=============================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "List all Objects"
|
||||
|
||||
#. The "Search" page will load. Use the search field to search for your required request for change.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
Update Request For Change
|
||||
=========================
|
||||
|
||||
#. Use the method above to find the appropriate Request for Change you wish to edit.
|
||||
|
||||
#. Edit the Request for change, and once completed click on the "Update Request for Change" button
|
||||
|
||||
Create Change Tasks
|
||||
===================
|
||||
|
||||
.. image:: run-sheet-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Run Sheet under the Request for Change
|
||||
|
||||
**Assumption:** You are currently on a draft of a Request for Change
|
||||
|
||||
#. Under the "Run Sheet" section, click on the "New Change Item"
|
||||
|
||||
#. The "Change Task" wizard will appear
|
||||
|
||||
.. image:: change-task-wizard-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Change task wizard
|
||||
|
||||
#. Fill out the form appropriately. Please note the datetime should reflect the start and end date of this particular task.
|
||||
|
||||
#. Click either of the "Add" buttons to add the change task. The newly created change task will appear in the list.
|
||||
|
||||
|
||||
Update Change Tasks
|
||||
===================
|
||||
|
||||
.. image:: run-sheet-list-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the run sheet list
|
||||
|
||||
#. Find the Change Task you would like to edit, and click on it
|
||||
|
||||
#. Change Task information page will load
|
||||
|
||||
#. Edit the fields appropriately and hit the "Save" button to update the change task
|
||||
|
||||
#. The following information for the change task is located at the bottom of the page
|
||||
|
||||
#. **Change Task Links** - Defines which changes tasks will be blocking this particular change task
|
||||
|
||||
#. **Description** - Further explaination of the change task (optional)
|
||||
|
||||
#. **Misc** - Defines if there is downtime, or defines who the stakeholders are for this task
|
||||
|
||||
#. To navigate back to the Request for Change, click on the "Go Back" link at the top of the page
|
||||
|
||||
Starting Request For Change
|
||||
===========================
|
||||
|
||||
**Assumption:** You are currently on a draft of a Request for Change
|
||||
|
||||
#. To start a RFC, click on the "Submit RFC for Approval".
|
||||
|
||||
#. The RFC is sent to all Team Leaders within the assigned groups.
|
||||
|
||||
#. At least one team leader from each group has to approve with no rejections
|
||||
|
||||
#. If there are no team leaders for the groups, an auto approval process will occur
|
||||
|
After Width: | Height: | Size: 107 KiB |
|
After Width: | Height: | Size: 89 KiB |
|
After Width: | Height: | Size: 86 KiB |
@@ -0,0 +1,62 @@
|
||||
.. _requirement_item_crud:
|
||||
|
||||
Requirement Item
|
||||
################
|
||||
|
||||
.. image:: requirement-item-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Requirement Items
|
||||
|
||||
Requirement Items are the broken down requirements into more detailed parts. Think of them as user stories. Whilst the
|
||||
requirement is the high/helicopter level of detail. The requirement items are the lower/ground level details.
|
||||
|
||||
What is a Requirement Item
|
||||
==========================
|
||||
|
||||
Requirements should be split up into smaller sections (or items). Requirement items are those sections. Requirements are
|
||||
higher helicopter looks, where as the Requirement Items are more detailed and closer to the ground level.
|
||||
|
||||
For example: The below section has a requirement, which then has three requirement items.
|
||||
|
||||
* **Requirement:** Build a website
|
||||
* **Requirement Item:** Website to contain landing page, contact us page, and blogs page
|
||||
* **Requirement Item:** Website widget to inform customer of current operational status
|
||||
* **Requirement Item:** Website design should match the new branding
|
||||
|
||||
|
||||
Create Requirement Item
|
||||
=======================
|
||||
|
||||
#. On the Requirement information page, scroll to the bottom
|
||||
|
||||
#. Click on the "Requirement Item" tab. This will list out all currently existing requirements items
|
||||
|
||||
#. Click on the "Create a new Requirement Item" button
|
||||
|
||||
#. The "New Requirement Item Wizard" will show, fill out the form appropriately and submit
|
||||
|
||||
|
||||
Update Requirement Item
|
||||
=======================
|
||||
|
||||
#. On the requirement page, scroll to the bottom
|
||||
|
||||
#. Click on the "Requirement Item" tab
|
||||
|
||||
#. Click on the appropriate requirement item
|
||||
|
||||
#. You will be redirected to the requirement item information page
|
||||
|
||||
#. Apply appropriate changes and hit the "Update" button
|
||||
|
||||
#. To navigate back to the requirement, click on the "Go back to requirement" link at the top of the page
|
||||
|
||||
Misc Requirement Item Functionality
|
||||
===================================
|
||||
|
||||
The following are misc/common functionality;
|
||||
|
||||
* **Adding Links -** :ref:`More Information <Linked Objects>`
|
||||
* **Assigning Tags To Requirement Item -** :ref:`More Information <Assigning Tags to Objects>`
|
||||
* **Creating Public Links for Requirement Item -** :ref:`More Information <Creating Public Links for Objects>`
|
||||
* **Writing Notes for An Requirement Item -** :ref:`More Information <Notes>`
|
||||
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 226 KiB |
@@ -0,0 +1,64 @@
|
||||
.. _requirement_crud:
|
||||
|
||||
Requirement
|
||||
###########
|
||||
|
||||
.. image:: requirement-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the Requirement
|
||||
|
||||
Requirement are used to gather customer's requirements. These requirements should be kept at a high/helicopter level
|
||||
and any extra details should be placed within the requirement items (sub objects of requirements).
|
||||
|
||||
Create Requirement
|
||||
==================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Requirement"
|
||||
|
||||
#. The "New Requirement" page will load. Fill out the form appropriately and click on the "Create New Requirement"
|
||||
|
||||
|
||||
Search Requirement
|
||||
==================
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "List all Objects"
|
||||
|
||||
#. The "Search" page will load. Use the search field to search for your required requirement.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
Update Requirement
|
||||
==================
|
||||
|
||||
#. Use the method above to find the appropriate Requirement you wish to edit.
|
||||
|
||||
#. Edit the Requirement, and once completed click on the "Update Requirement" button
|
||||
|
||||
Misc Requirement Functionality
|
||||
==============================
|
||||
|
||||
.. image:: requirement_misc_functionality.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the requirement misc functionality
|
||||
|
||||
The following are misc/common functionality;
|
||||
|
||||
* **Add Group To Requirement -** :ref:`More Information <Add Group To Object>`
|
||||
* **Assign Customer To Requirement -** :ref:`More Information <Assign Customer To Object>`
|
||||
* **Adding Links to Current Requirement -** :ref:`More Information <Linked Objects>`
|
||||
* **Documentation -** :ref:`More Information <Documentation>`
|
||||
* **Adding Customers To Requirement -** :ref:`More Information <Adding Customers To Objects>`
|
||||
* **Creating New Sprints -** :ref:`More Information <Creating New Sprints>`
|
||||
* **Assigning Tags To Requirement -** :ref:`More Information <Assigning Tags to Objects>`
|
||||
* **Creating Public Links for Requirement -** :ref:`More Information <Creating Public Links for Objects>`
|
||||
* **Writing Notes for An Requirement -** :ref:`More Information <Notes>`
|
||||
|
||||
|
||||
Misc Requirement Items
|
||||
======================
|
||||
|
||||
Please see the :ref:`Requirement Item documentation`<Requirement Item>`
|
||||
|
After Width: | Height: | Size: 59 KiB |
39
NearBeach/docs/004-basic-usage/sprint/sprint_crud.rst
Normal file
@@ -0,0 +1,39 @@
|
||||
.. _sprint_crud:
|
||||
|
||||
Sprint
|
||||
######
|
||||
|
||||
Creating A New Sprint
|
||||
---------------------
|
||||
|
||||
.. image:: sprints-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screen shot of sprints
|
||||
|
||||
Sprints can only be created from the Project or Requirement objects. Other objects can be linked into sprints.
|
||||
|
||||
To navigate to a sprint, simply click on the sprint card.
|
||||
|
||||
Creating New Sprints
|
||||
--------------------
|
||||
|
||||
#. Click on the "Create new sprint" button
|
||||
|
||||
#. The "New Sprint Wizard" will appear
|
||||
|
||||
#. Fill out the form appropriately and click on the "Save" button
|
||||
|
||||
#. You will be redirected to the newly created sprint
|
||||
|
||||
Link Object to Sprint
|
||||
---------------------
|
||||
|
||||
If you require to add this object to an existing sprint
|
||||
|
||||
#. Click on the "Add Object to Sprint" button
|
||||
|
||||
#. The "Add Object to Sprint Wizard" will appear
|
||||
|
||||
#. Select the sprint you want to add the current object too
|
||||
|
||||
#. Click the save button
|
||||
BIN
NearBeach/docs/004-basic-usage/sprint/sprints-screenshot.png
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
NearBeach/docs/004-basic-usage/task/task-screenshot.png
Normal file
|
After Width: | Height: | Size: 172 KiB |
55
NearBeach/docs/004-basic-usage/task/task_crud.rst
Normal file
@@ -0,0 +1,55 @@
|
||||
.. _task_crud:
|
||||
|
||||
Task
|
||||
####
|
||||
|
||||
.. image:: task-screenshot.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the task page
|
||||
|
||||
Create Task
|
||||
===========
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "New Object"
|
||||
|
||||
#. In the dropdown, click on the option "New Task"
|
||||
|
||||
#. The "New Task" page will load. Fill out the form appropriately and click on the "Create New Task"
|
||||
|
||||
|
||||
Search Task
|
||||
===========
|
||||
|
||||
#. In the navigation menu at the top of the page. Click on the option "Find Objects"
|
||||
|
||||
#. In the dropdown, click on the option "List all Objects"
|
||||
|
||||
#. The "Search" page will load. Use the search field to search for your required task.
|
||||
|
||||
.. note:: Spaces are considered wildcards in this search.
|
||||
|
||||
Update Task
|
||||
===========
|
||||
|
||||
#. Use the method above to find the appropriate Task you wish to edit.
|
||||
|
||||
#. Edit the Task, and once completed click on the "Update Task" button
|
||||
|
||||
Misc Task Functionality
|
||||
=======================
|
||||
|
||||
.. image:: task_misc_functionality.png
|
||||
:width: 600
|
||||
:alt: Screenshot of the task misc functionality
|
||||
|
||||
The following are misc/common functionality;
|
||||
|
||||
* **Add Group To Task -** :ref:`More Information <Add Group To Object>`
|
||||
* **Assign Customer To Task -** :ref:`More Information <Assign Customer To Object>`
|
||||
* **Adding Links to current Object -** :ref:`More Information <Linked Objects>`
|
||||
* **Documentation -** :ref:`More Information <Documentation>`
|
||||
* **Adding Customers To Tasks -** :ref:`More Information <Adding Customers To Objects>`
|
||||
* **Creating New Sprints -** :ref:`More Information <Creating New Sprints>`
|
||||
* **Assigning Tags To Tasks -** :ref:`More Information <Assigning Tags to Objects>`
|
||||
* **Creating Public Links for Tasks -** :ref:`More Information <Creating Public Links for Objects>`
|
||||
* **Writing Notes for A Task -** :ref:`More Information <Notes>`
|
||||
BIN
NearBeach/docs/004-basic-usage/task/task_misc_functionality.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
148
NearBeach/docs/006-procedures/deployment/deployment.rst
Normal file
@@ -0,0 +1,148 @@
|
||||
Deployment of NearBeach
|
||||
#######################
|
||||
|
||||
.. note::
|
||||
|
||||
NearBeach uses Pypi and Docker to deploy to customers.
|
||||
|
||||
`NearBeach on Pypi can be found here <https://pypi.org/project/NearBeach>`_
|
||||
|
||||
`NearBeach on Docker can be found here <https://hub.docker.com/r/robotichead/nearbeach>`_
|
||||
|
||||
|
||||
There are two release processes.
|
||||
|
||||
Process 1: should be used when there is new code for NearBeach, and any library updates
|
||||
|
||||
Process 2: should be used when there is a security issue within any of the libraries used for NearBeach. This will
|
||||
deploy an update for those libraries without sending out any new NearBeach code. aka deploy separately from the
|
||||
NearBeach deployment cycle.
|
||||
|
||||
i.e Boto3 has a security patch, and we need to deploy
|
||||
|
||||
Initial Checks
|
||||
==============
|
||||
|
||||
Check 1: If NearBeach requires any new Python Packages, these will need to be noted within the following locations;
|
||||
|
||||
NearBeach Source
|
||||
|
||||
- /requirements.txt
|
||||
- /NearBeach/requirements.txt
|
||||
- /.github/deployment_files/template_pyproject.toml
|
||||
|
||||
The above will make sure the Python package is installed in the Docker build of NearBeach.
|
||||
|
||||
|
||||
Check 2: Make sure Docker will build and run
|
||||
|
||||
#. Using a terminal, cd into the NearBeach-Docker source directory
|
||||
|
||||
#. Do a simple git pull and check that you are on the correct branch
|
||||
|
||||
#. Run the following command to build a local version of NearBeach `docker build --no-cache --file Dockerfile --tag robotichead/nearbeach:nearbeach-local .`
|
||||
|
||||
#. Use the docker-compose example on https://nearbeach.org/self-hosting/ and save in an appropriate location as docker-compose.yml
|
||||
|
||||
#. Using the terminal, cd to the location of the docker-compose.yml file from previous instructions
|
||||
|
||||
#. Modify the NearBeach image to match the build name. `image: robotichead/nearbeach:nearbeach-local`
|
||||
|
||||
#. Using docker compose up -D you can easily test the local docker build of NearBeach
|
||||
|
||||
|
||||
Check 3: Make sure Local Code will build and run
|
||||
|
||||
#. Use the docker-compose example on https://nearbeach.org/self-hosting/ and save in an appropriate location
|
||||
|
||||
#. Modify the Volumes to override the NearBeach installation directory - https://stackoverflow.com/questions/40905761/how-do-i-mount-a-host-directory-as-a-volume-in-docker-compose
|
||||
|
||||
TODO - Finish Check 3 code
|
||||
|
||||
|
||||
Deployment Process 1
|
||||
====================
|
||||
|
||||
.. note::
|
||||
|
||||
Please make sure you are in a terminal, that is in the root folder of the project.
|
||||
|
||||
#. Make sure you are on the develop branch, and all required features have been finished. i.e. merged into the develop
|
||||
branch.
|
||||
|
||||
#. Run audit tools and fix any packages
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
npm audit
|
||||
|
||||
|
||||
#. Compile the JavaScript into production mode
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
npm run prod
|
||||
|
||||
|
||||
#. Implement the End to End tests using playwright
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
npm run e2e
|
||||
|
||||
|
||||
|
||||
Please note - you'll need a default instance of NearBeach running with the fixture "NearBeach_basic_setup.json".
|
||||
|
||||
#. Check all screenshots from the End to End tests
|
||||
|
||||
#. Make sure the development branch has been pushed into origin. This will include the compilation of the production
|
||||
JavaScript
|
||||
|
||||
#. Check CircleCI's latest build status for the development branch. All tests should be passing. If there are any tests
|
||||
that have failed, they'll need to be fixed before deployment.
|
||||
|
||||
#. Using gitflow, we'll create a release.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
git flow release start <<version_number>>
|
||||
|
||||
|
||||
The version number should follow the format x.y.z. More information can be found at https://semver.org/
|
||||
|
||||
#. Using gitflow, we'll finish the release.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
git flow release finish <<version_number>>
|
||||
|
||||
|
||||
#. Push both the dev and main branch into the origin.
|
||||
|
||||
#. Go to github, and do a release in github. Currently the release from the console does not trigger the github actions.
|
||||
|
||||
#. Check the github actions for NearBeach, to see if the workflows are running correctly.
|
||||
|
||||
|
||||
Deployment Process 2
|
||||
====================
|
||||
|
||||
This process should ONLY be followed when we just want to deploy a new version of NearBeach's core libraries without
|
||||
deploying any of the new code. i.e. separated from the development cycle.
|
||||
|
||||
Example 1: Boto3 has a security patch, we need to release this library into NearBeach's docker containers and get
|
||||
everyone to use the newest versions.
|
||||
|
||||
#. Go to https://github.com/NearBeach/NearBeach
|
||||
|
||||
#. On the NearBeach github page, click on the "Create a new release"
|
||||
|
||||
#. Appropriately fill out the tag using the version x.y.z - for more information please read https://semver.org/
|
||||
|
||||
#. Fill out the rest of the information as approprately as possible. Explain why there is a release, i.e. security patch
|
||||
for external library
|
||||
|
||||
#. Make sure the target is "main"
|
||||
|
||||
#. Deploy the release
|
||||
36
NearBeach/docs/006-procedures/git-flow/git-flow.rst
Normal file
@@ -0,0 +1,36 @@
|
||||
Git Flow
|
||||
########
|
||||
|
||||
NearBeach uses Git flow for it's development cycle.
|
||||
|
||||
Learning Resources:
|
||||
|
||||
* `Github Documentation of Git Flow <https://docs.github.com/en/get-started/using-github/github-flow>`_
|
||||
* `Atlassian Documentation of Git Flow <https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow>`_
|
||||
* `Git Flow cheat sheet by Daniel Kummer <https://danielkummer.github.io/git-flow-cheatsheet/>`_
|
||||
|
||||
Branch Names:
|
||||
|
||||
+--------------------+--------------------------+
|
||||
| Git Default Branch | Branch Name In NearBeach |
|
||||
+--------------------+--------------------------+
|
||||
| Master/Main | main |
|
||||
+--------------------+--------------------------+
|
||||
| Develop | develop |
|
||||
| | |
|
||||
+--------------------+--------------------------+
|
||||
| Feature | feature |
|
||||
+--------------------+--------------------------+
|
||||
| Release | release |
|
||||
+--------------------+--------------------------+
|
||||
| Hotfix | hotfix |
|
||||
+--------------------+--------------------------+
|
||||
|
||||
Notes:
|
||||
|
||||
* Any new features, should have the feature created from the `develop` branch
|
||||
* Any new hotfixes, should have the hotfix created from the `main` branch
|
||||
* Any new releases, will automatically trigger the github actions, and preform a release
|
||||
* If releasing new code, the release should be created from the `develop` branch
|
||||
* If releasing separate from development, i.e. deploying same code base with updated libraries, then follow the
|
||||
deployment instructions.
|
||||
10
NearBeach/docs/007-misc/cache-busting/cache-busting.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
Cache Busting
|
||||
#############
|
||||
|
||||
.. note::
|
||||
|
||||
If you have NearBeach installed through Docker, you will not need to do these steps. This is design for those who have manually installed NearBeach.
|
||||
|
||||
|
||||
If you are hosting your own static files, you'll notice that the old static files will not update after an upgrade due to cache. A hard reset will work, however not ideal. The best solution to fix this would be to `Implement ManifestStaticFilesStorage in the Settings file <https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#django.contrib.staticfiles.storage.ManifestStaticFilesStorage>`_.
|
||||
Please follow the instructions on the Django Documentation linked.
|
||||
@@ -0,0 +1,55 @@
|
||||
Fixture Object Assignment
|
||||
#########################
|
||||
|
||||
The below table describes each object and who can gain access to that object.
|
||||
|
||||
+--------------------+----+----------+---------+
|
||||
| Object | ID | Group(s) | User(s) |
|
||||
+====================+====+==========+=========+
|
||||
| Organisation | 1 | __all__ | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
| Customer | 1 | __all__ | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
| Kanban Board | 1 | Admin | Admin |
|
||||
+--------------------+----+----------+---------+
|
||||
| Kanban Board | 2 | QA Team | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
| Project | 1 | Admin | Admin |
|
||||
+--------------------+----+----------+---------+
|
||||
| Project | 2 | QA Team | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
| Requirement | 1 | Admin | Admin |
|
||||
+--------------------+----+----------+---------+
|
||||
| Requirement | 2 | QA Team | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
| Task | 1 | Admin | Admin |
|
||||
+--------------------+----+----------+---------+
|
||||
| Task | 2 | QA Team | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
| Request for Change | 1 | Admin | Admin |
|
||||
+--------------------+----+----------+---------+
|
||||
| Request for Change | 2 | QA Team | __all__ |
|
||||
+--------------------+----+----------+---------+
|
||||
|
||||
.. note::
|
||||
|
||||
The `__all__` defines that every single user will have access.
|
||||
|
||||
|
||||
.. note::
|
||||
|
||||
In the near future - __all__ will need to be change to each individual user. Because there will be some users that have no access
|
||||
|
||||
The below table defines the SUB objects, and what object they are connected to above. These objects will inherit the permissions above.
|
||||
|
||||
+--------+----+---------------+-----------+
|
||||
| Object | ID | Parent Object | Parent ID |
|
||||
+========+====+===============+===========+
|
||||
| Card | 1 | Kanban Board | 1 |
|
||||
+--------+----+---------------+-----------+
|
||||
| Card | 2 | Kanban Board | 2 |
|
||||
+--------+----+---------------+-----------+
|
||||
| R Item | 1 | Requirement | 1 |
|
||||
+--------+----+---------------+-----------+
|
||||
| R Item | 2 | Requirement | 2 |
|
||||
+--------+----+---------------+-----------+
|
||||
84
NearBeach/docs/007-misc/fixtures/fixture-standards.rst
Normal file
@@ -0,0 +1,84 @@
|
||||
Fixture Standards
|
||||
#################
|
||||
|
||||
The following document is to outline the structure of the fixtures.
|
||||
So if we need to expand the fixtures, it can easily be matched
|
||||
with the unit tests.
|
||||
|
||||
Objects Assiged to Administrators
|
||||
---------------------------------
|
||||
|
||||
Any Objects with an ID of 1, will be assigned to just the
|
||||
Administrators (admin group). No other use shall have access
|
||||
to these objects.
|
||||
|
||||
This applies for the following objects
|
||||
|
||||
#. Kanban Board
|
||||
#. Project
|
||||
#. Request for Change
|
||||
#. Requirement
|
||||
#. Task
|
||||
|
||||
Tests should be used to determine other users do not have
|
||||
access
|
||||
|
||||
Objects Assiged to Team Members
|
||||
-------------------------------
|
||||
|
||||
Any Objects with an ID 2, will be assigned to Team Members
|
||||
group. Any user that is assigned to this team members group
|
||||
will be able to access the object.
|
||||
|
||||
This applies to the following objects
|
||||
|
||||
#. Kanban Board
|
||||
#. Project
|
||||
#. Request for Change
|
||||
#. Requirement
|
||||
#. Task
|
||||
|
||||
Test should be used to determine;
|
||||
|
||||
#. Administrators can access the objects
|
||||
#. Any user in the team members group can access the objects
|
||||
#. Any user who is not assigned to the team members (excluding admin), can NOT access objects
|
||||
|
||||
|
||||
Object Assigned to Empty Group
|
||||
------------------------------
|
||||
|
||||
Any Objects with an ID of 3, will be assigned to an empty group
|
||||
where there are no users assigned.
|
||||
|
||||
This applies to the following objects
|
||||
|
||||
#. Kanban Board
|
||||
#. Project
|
||||
#. Request for Change
|
||||
#. Requirement
|
||||
#. Task
|
||||
|
||||
Test should be used to determine;
|
||||
|
||||
#. Administrators can access the objects
|
||||
#. Any user not in the empty group can NOT access the objects
|
||||
|
||||
|
||||
Misc Notes
|
||||
----------
|
||||
|
||||
The following objects are excluded from the rules;
|
||||
|
||||
#. Cards
|
||||
#. Notes
|
||||
#. Requirement items
|
||||
#. Any sub object
|
||||
|
||||
|
||||
Creating Fixture Command
|
||||
------------------------
|
||||
|
||||
Use the following command to help create the fixtures.
|
||||
|
||||
`python3 manage.py dumpdata --exclude contenttypes --exclude auth.permission --exclude admin.logentry --indent 2 > ./NearBeach/fixtures/NearBeach_****_setup.json`
|
||||
11
NearBeach/docs/007-misc/index.rst
Normal file
@@ -0,0 +1,11 @@
|
||||
.. _misc_index:
|
||||
|
||||
Misc Information
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 0
|
||||
:caption: Misc Information
|
||||
|
||||
Cache Busting </007-misc/cache-busting/cache-busting>
|
||||
Fixture Standards </007-misc/fixtures/fixture-standards>
|
||||
Fixture Object Assignment </007-misc/fixtures/fixture-object-assignment>
|
||||
20
NearBeach/docs/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Minimal makefile for Sphinx documentation
|
||||
#
|
||||
|
||||
# You can set these variables from the command line, and also
|
||||
# from the environment for the first two.
|
||||
SPHINXOPTS ?=
|
||||
SPHINXBUILD ?= sphinx-build
|
||||
SOURCEDIR = .
|
||||
BUILDDIR = _build
|
||||
|
||||
# Put it first so that "make" without argument is like "make help".
|
||||
help:
|
||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
.PHONY: help Makefile
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
%: Makefile
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
58
NearBeach/docs/conf.py
Normal file
@@ -0,0 +1,58 @@
|
||||
# Configuration file for the Sphinx documentation builder.
|
||||
#
|
||||
# This file only contains a selection of the most common options. For a full
|
||||
# list see the documentation:
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
||||
|
||||
# -- Path setup --------------------------------------------------------------
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
#
|
||||
# import os
|
||||
# import sys
|
||||
# sys.path.insert(0, os.path.abspath('.'))
|
||||
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
project = 'NearBeach'
|
||||
copyright = '2023, Luke Christopher Clarke'
|
||||
author = 'Luke Christopher Clarke'
|
||||
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = '0.30.27'
|
||||
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
'sphinx.ext.autosectionlabel',
|
||||
'sphinx.ext.intersphinx'
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
# This pattern also affects html_static_path and html_extra_path.
|
||||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||
|
||||
|
||||
# -- Options for HTML output -------------------------------------------------
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
master_doc = 'index'
|
||||
109
NearBeach/docs/index.rst
Normal file
@@ -0,0 +1,109 @@
|
||||
Welcome to NearBeach
|
||||
====================
|
||||
|
||||
.. image:: https://img.shields.io/github/license/robotichead/NearBeach
|
||||
.. image:: https://img.shields.io/pypi/v/NearBeach
|
||||
.. image:: https://img.shields.io/circleci/build/github/robotichead/NearBeach/master
|
||||
.. image:: https://img.shields.io/codeclimate/maintainability/robotichead/NearBeach
|
||||
|
||||
------------------
|
||||
What is NearBeach?
|
||||
------------------
|
||||
|
||||
NearBeach is an Open Source Project Management system built using VueJS and the Django framework. `NearBeach.org <https://nearbeach.org/>`_. You can;
|
||||
|
||||
* Record basic Organisation and customer data
|
||||
* Gather user requirements for tracking purposes
|
||||
* Build Kanban Boards
|
||||
* Create projects/tasks for deliverying
|
||||
* Plan out your development using Sprints
|
||||
* Setup Request for Changes (RFC) for deployments
|
||||
|
||||
|
||||
|
||||
.. note:: NearBeach is licensed under the MIT license
|
||||
|
||||
.. note:: If you want to setup a local development environment, please view our :ref:`local_development_environment`.
|
||||
|
||||
.. note:: If you want to deploy a docker build of NearBeach, please view our :ref:`quick-install-docker`.
|
||||
|
||||
-----------
|
||||
Who are we?
|
||||
-----------
|
||||
|
||||
Welcome to NearBeach. We are a small community of developers trying to make tools to help you manage your projects. Why not
|
||||
`join our community <https://discord.gg/fbhSjdnv>`_ and we can build the tools that you require.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
:caption: 🚀 About
|
||||
|
||||
Features </000-about/features>
|
||||
NearBeach Flow </000-about/nearbeach-flow>
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
:caption: 💡 Installation
|
||||
|
||||
Quick Install with Docker </001-installation/quick-install-with-docker>
|
||||
Quick Install with Podman </001-installation/quick-install-with-podman>
|
||||
Different Databases </001-installation/different-databases/index>
|
||||
Different Blob Storage </001-installation/different-blob-storage/index>
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
:caption: 🏸 For Developers
|
||||
|
||||
Setup Local Dev Env </002-local-development-environment-setup/index>
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
:caption: 🎣 For Administrators
|
||||
|
||||
First Time Setup </003-administration-tasks/first-time-setup>
|
||||
Manage Users </003-administration-tasks/manage-users>
|
||||
Manage Groups </003-administration-tasks/manage-groups>
|
||||
Manage Permission Sets </003-administration-tasks/manage-permission-sets>
|
||||
System Variables </003-administration-tasks/system-variables>
|
||||
API </003-administration-tasks/api>
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
:caption: 🪀 Basic Usage
|
||||
|
||||
Organisations </004-basic-usage/organisation/organisation_crud>
|
||||
Customers </004-basic-usage/customer/customer_crud>
|
||||
Requirements </004-basic-usage/requirement/requirement_crud>
|
||||
Requirement Items </004-basic-usage/requirement-item/requirement_item_crud>
|
||||
Kanban Board </004-basic-usage/kanban-board/kanban_board_crud>
|
||||
Projects </004-basic-usage/project/project_crud>
|
||||
Tasks </004-basic-usage/task/task_crud>
|
||||
Spring </004-basic-usage/sprint/sprint_crud>
|
||||
Request for Change </004-basic-usage/request-for-change/request_for_change_crud>
|
||||
Common Usage </004-basic-usage/common-usage/index>
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:hidden:
|
||||
:caption: 🛝 Procedure
|
||||
|
||||
Deployment of NearBeach </006-procedures/deployment/deployment>
|
||||
Git Flow for NearBeach </006-procedures/git-flow/git-flow>
|
||||
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:hidden:
|
||||
:caption: 🥋 Misc
|
||||
|
||||
Misc </007-misc/index>
|
||||
|
||||
35
NearBeach/docs/make.bat
Normal file
@@ -0,0 +1,35 @@
|
||||
@ECHO OFF
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
REM Command file for Sphinx documentation
|
||||
|
||||
if "%SPHINXBUILD%" == "" (
|
||||
set SPHINXBUILD=sphinx-build
|
||||
)
|
||||
set SOURCEDIR=.
|
||||
set BUILDDIR=_build
|
||||
|
||||
if "%1" == "" goto help
|
||||
|
||||
%SPHINXBUILD% >NUL 2>NUL
|
||||
if errorlevel 9009 (
|
||||
echo.
|
||||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
||||
echo.installed, then set the SPHINXBUILD environment variable to point
|
||||
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
||||
echo.may add the Sphinx directory to PATH.
|
||||
echo.
|
||||
echo.If you don't have Sphinx installed, grab it from
|
||||
echo.http://sphinx-doc.org/
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
||||
goto end
|
||||
|
||||
:help
|
||||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
||||
|
||||
:end
|
||||
popd
|
||||
3
NearBeach/docs/requirements.in
Normal file
@@ -0,0 +1,3 @@
|
||||
sphinx==7.2.6
|
||||
sphinx_rtd_theme==1.3.0
|
||||
readthedocs-sphinx-search==0.3.2
|
||||
64
NearBeach/docs/requirements.txt
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile with Python 3.11
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile requirements.in
|
||||
#
|
||||
alabaster==0.7.13
|
||||
# via sphinx
|
||||
babel==2.13.1
|
||||
# via sphinx
|
||||
certifi==2024.7.4
|
||||
# via requests
|
||||
charset-normalizer==3.3.2
|
||||
# via requests
|
||||
docutils==0.18.1
|
||||
# via
|
||||
# sphinx
|
||||
# sphinx-rtd-theme
|
||||
idna==3.15
|
||||
# via requests
|
||||
imagesize==1.4.1
|
||||
# via sphinx
|
||||
jinja2==3.1.6
|
||||
# via sphinx
|
||||
markupsafe==2.1.3
|
||||
# via jinja2
|
||||
packaging==23.2
|
||||
# via sphinx
|
||||
pygments==2.20.0
|
||||
# via sphinx
|
||||
readthedocs-sphinx-search==0.3.2
|
||||
# via -r requirements.in
|
||||
requests==2.33.0
|
||||
# via sphinx
|
||||
snowballstemmer==2.2.0
|
||||
# via sphinx
|
||||
sphinx==7.2.6
|
||||
# via
|
||||
# -r requirements.in
|
||||
# sphinx-rtd-theme
|
||||
# sphinxcontrib-applehelp
|
||||
# sphinxcontrib-devhelp
|
||||
# sphinxcontrib-htmlhelp
|
||||
# sphinxcontrib-jquery
|
||||
# sphinxcontrib-qthelp
|
||||
# sphinxcontrib-serializinghtml
|
||||
sphinx-rtd-theme==1.3.0
|
||||
# via -r requirements.in
|
||||
sphinxcontrib-applehelp==1.0.7
|
||||
# via sphinx
|
||||
sphinxcontrib-devhelp==1.0.5
|
||||
# via sphinx
|
||||
sphinxcontrib-htmlhelp==2.0.4
|
||||
# via sphinx
|
||||
sphinxcontrib-jquery==4.1
|
||||
# via sphinx-rtd-theme
|
||||
sphinxcontrib-jsmath==1.0.1
|
||||
# via sphinx
|
||||
sphinxcontrib-qthelp==1.0.6
|
||||
# via sphinx
|
||||
sphinxcontrib-serializinghtml==1.1.9
|
||||
# via sphinx
|
||||
urllib3==2.7.0
|
||||
# via requests
|
||||