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
) - Docker
This is the Smatflow offical site repository.
Clone the repository:
git clone https://github.com/Icloudeng/directus-portal.git
Install packages
pnpm install
For a quick start consider using docker and docker compose
docker compose -f docker-compose.db.yaml up
cp apps/cms/.env.sample apps/cms/.env
pnpm build
pnpm run -r setup
pnpm dev --filter=web --filter=cms --filter=@packages/contracts
Starts development servers for (cms: http://localhost:8055/ and web: http://localhost:3000/)
Admin Account
- email: [email protected]
- password: password
The project was designed on a monorepo architecture, actually there are two apps as project packages:
apps/cms
: CMS part powered by Directusapps/web
: Web Part made with NextJsapps/docs
: DOCS Part made with Docusaurus
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 fileapps/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)
@smatflow
....