Skip to content

Commit

Permalink
Updated the documentation files and source code
Browse files Browse the repository at this point in the history
  • Loading branch information
macagua committed May 26, 2023
1 parent 629c6bf commit a7f17f5
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 2023-05-11

- Initial version [ScrumLATAMComunidad]
- Initial version [macagua]
53 changes: 49 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The `Scrum Latam Comunidad <https://www.scrumlatamcomunidad.com/>`_ Website repo
A new SCRUM LATAM Comunidad Website using Plone 6 and Volto
technologies.


Quick start
-----------

Expand All @@ -19,20 +20,62 @@ Development Setup
- yarn
- Docker


Install
~~~~~~~

Install the requirements dependencies:

.. code:: shell
sudo apt install build-essential python3-dev python3-venv git tree curl
Install `Node Version Manager - NVM <https://github.com/nvm-sh/nvm/blob/master/README.md>`_:

.. code:: shell
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" \
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
source ~/.bashrc
exit
Install Node 16 Version:

.. code:: shell
nvm install 16
nvm use 16
Install `yarn <https://yarnpkg.com/>`_ tool:

.. code:: shell
git clone [email protected]:ScrumLATAMComunidad/slc-sitioweb.git
cd slc-sitioweb
sudo apt install make python3-venv
npm install --global yarn
Clone and install the git repository:

.. code:: shell
git clone [email protected]:ScrumLATAMComunidad/slc-sitioweb.git slc-sitioweb && cd $_
Install the dev stack:

.. code:: shell
make install
Start
~~~~~

Open two consoles to run each of the following commands in each of them:

Start the Backend (http://localhost:8080/)

.. code:: shell
Expand Down Expand Up @@ -63,6 +106,8 @@ This monorepo is composed by two distinct codebases: api and frontend.
- **backend**: API (Backend) Plone installation using ``pip`` (not
*buildout*). Includes a policy package named ``slc_sitioweb``. More
details information at `backend/src/slc_sitioweb/README.md <backend/src/slc_sitioweb/README.md>`_ file.
- **devops**: Devops Deployments scripts por this monorepo. More details
information at `devops/README.md <frontend/README.md>`_ file.
- **frontend**: React (Volto) package named frontend. More details
information at `frontend/README.md <frontend/README.md>`_ file.

Expand All @@ -84,7 +129,7 @@ automatically format them, you can run

``make format``

in the root folder or especifically in each backend or frontend folders.
in the root folder or specifically in each backend or frontend folders.

Linters commands are available in each backend and frontend folder.

Expand Down
2 changes: 1 addition & 1 deletion backend/src/slc_sitioweb/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog


## 1.0a1 (unreleased)
## 1.0.0a1 (unreleased)

- Added the authomatic support via pas.plugins.authomatic addon for backend and volto-authomatic addon for frontend [macagua]

Expand Down
2 changes: 2 additions & 0 deletions backend/src/slc_sitioweb/src/slc_sitioweb/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<include file="permissions.zcml" />
<include file="profiles.zcml" />

<!-- -*- extra stuff goes here -*- -->

<include package=".indexers" />
<include package=".vocabularies" />
<include package=".behaviors" />
Expand Down

0 comments on commit a7f17f5

Please sign in to comment.