Skip to content

A website builder and CMS that lets you create sites by combining pre-designed section templates.

Notifications You must be signed in to change notification settings

Icloudeng/directus-portal

Repository files navigation

Smatflow Portal

Getting started

This should be private and only admins and developers have permission to edit it. Here are the tools you must have to get started (Test or Development).

  • NodeJS
  • Npm
  • PNPM (install with: npm install -g pnpm)
  • Make
  • Redis

Description

This is the Smatflow offical site repository.

Installation

Clone the repository:

git clone https://hub.smatflow.net/smatflow-projects/smatflow-portal.git

Install packages

  • pnpm install

Database

For a quick start consider using docker and docker compose

  • make postgres-docker

Monorepos

The project was designed on a monorepo architecture, actually there are two apps as project packages:

  • apps/cms: CMS part powered by Directus
  • apps/web: Web Part made with NextJs

Configuration

The default configuration can work without needing to modify it, but in cases where you need customization regarding the project configuration, you can edit the following files:

  • apps/cms/.env CMS configuration file
  • apps/web/.env Web configuration (Here you need to create a new configuration file called .env.local where you put your customization, instead of modifying the actual file)

Server

To start the development server run the following command on your terminal

Test and Deploy

Ansible Install

it is recommended to use a virtual environment, you can create it and install ansible with the following command:

  • make ansible-install this will create the virtual environment and install ansible

Configuration

To customize the ansible inventory, you can edit the ansible/hosts.yml file

Provisioning

to provision the remote server, run the following command:

  • make provision

Authors and acknowledgment

@smatflow

License

....

About

A website builder and CMS that lets you create sites by combining pre-designed section templates.

Resources

Stars

Watchers

Forks

Packages

No packages published