SuiteCRM 8.x: Difference between revisions

From Growth Agency Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
then run commands:
then run commands:
<pre>
<pre>
./bin/console suitecrm:app:upgrade -t "<version>"
./bin/console suitecrm:app:upgrade -t "SuiteCRM-<version>"
./bin/console suitecrm:app:upgrade-finalize -t "<version>"
./bin/console suitecrm:app:upgrade-finalize -t "SuiteCRM-<version>"
</pre>
</pre>


Line 25: Line 25:
find . ! -user www-data -exec chown www-data:www-data {} \;
find . ! -user www-data -exec chown www-data:www-data {} \;
chmod +x bin/console
chmod +x bin/console
</pre>
= development =
https://docs.suitecrm.com/8.x/developer/installation-guide/front-end-installation-guide/
<pre>
sudo apt install npm
sudo npm install --global yarn
sudo npm install @angular/cli@16.2.13
</pre>
Commands:
<pre>
yarn run build:common
yarn run build:core
yarn run build:shell
</pre>
</pre>

Latest revision as of 10:07, 7 August 2024

Cron Jobs

sudo crontab -e -u www-data

Update

Download and put file in:

/tmp/package/upgrade/

then run commands:

./bin/console suitecrm:app:upgrade -t "SuiteCRM-<version>"
./bin/console suitecrm:app:upgrade-finalize -t "SuiteCRM-<version>"

Then reset permissions

Reset Permissions

find . -type d -not -perm 2755 -exec chmod 2755 {} \;
find . -type f -not -perm 0644 -exec chmod 0644 {} \;
find . ! -user www-data -exec chown www-data:www-data {} \;
chmod +x bin/console

development

https://docs.suitecrm.com/8.x/developer/installation-guide/front-end-installation-guide/

sudo apt install npm
sudo npm install --global yarn
sudo npm install @angular/cli@16.2.13

Commands:

yarn run build:common
yarn run build:core
yarn run build:shell