MiniCRM is a web application made for study, which uses the following technologies:
cp ./.env.example .env
docker compose create
docker compose start
docker container exec minicrm-laravel composer install
docker container exec minicrm-laravel php artisan migrate
docker compose stop
npm install yarn -g
yarn install
Before initialize the Node service for the frontend application, you need to start the containers, run the command everytime you start development. If you want to see the logs, just ommit the -d
flag and run yarn
from another terminal window.
docker compose up -d
For develop the frontend, set the variable ASSET_MODE
to dev
and use the following command. This will run vite dev server.
yarn dev
If a variable ASSET_MODE
was either not available or be different from dev
, you need to build the frontend using this command:
yarn build
yarn test