Skip to content

Commit 15ada01

Browse files
authored
Remove pim-community-standard directory naming
1 parent 9491432 commit 15ada01

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

docs/ecommerce-applications/akeneo/how-to-install-akeneo-6-on-hypernode.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,21 @@ mysql -e "create database akeneo_pim;"
131131
### Composer update
132132

133133
```bash
134-
cd ~/akeneo/pim-community-standard
135-
rm composer.lock
134+
cd ~/akeneo
136135
composer2 update
137136
```
138137

139138
### Configure Your .env File
140139

141-
Edit the values of your MySQL user, password, host and Elasticsearch host in `/data/web/akeneo/pim-community-standard.env`
140+
Edit the values of your MySQL user, password, host and Elasticsearch host in `/data/web/akeneo/.env`
142141

143142
```bash
144-
sed -i "s/APP_DATABASE_PASSWORD=akeneo_pim/APP_DATABASE_PASSWORD=$(cat ~/.my.cnf | grep password | awk '{print$NF}')/" /data/web/akeneo/pim-community-standard/.env
145-
sed -i "s/APP_DATABASE_USER=akeneo_pim/APP_DATABASE_USER=$(cat ~/.my.cnf | grep user | awk '{print$NF}')/" /data/web/akeneo/pim-community-standard/.env
146-
sed -i "s/APP_DATABASE_HOST=mysql/APP_DATABASE_HOST=mysqlmaster/" /data/web/akeneo/pim-community-standard/.env
147-
sed -i "s/APP_INDEX_HOSTS=elasticsearch:9200/APP_INDEX_HOSTS=localhost:9200/" /data/web/akeneo/pim-community-standard/.env
143+
sed -i "s/APP_DATABASE_PASSWORD=akeneo_pim/APP_DATABASE_PASSWORD=$(cat ~/.my.cnf | grep password | awk '{print$NF}')/" /data/web/akeneo/.env
144+
sed -i "s/APP_DATABASE_USER=akeneo_pim/APP_DATABASE_USER=$(cat ~/.my.cnf | grep user | awk '{print$NF}')/" /data/web/akeneo/.env
145+
sed -i "s/APP_DATABASE_HOST=mysql/APP_DATABASE_HOST=mysqlmaster/" /data/web/akeneo/.env
146+
sed -i "s/APP_INDEX_HOSTS=elasticsearch:9200/APP_INDEX_HOSTS=localhost:9200/" /data/web/akeneo/.env
148147

149-
cp /data/web/akeneo/pim-community-standard/.env /data/web/akeneo/pim-community-standard/.env.local
148+
cp /data/web/akeneo/.env /data/web/akeneo/.env.local
150149
```
151150

152151
### Launch Akeneo 6
@@ -158,7 +157,7 @@ NO_DOCKER=true make prod
158157
### Create a Symlink
159158

160159
```bash
161-
ln -s /data/web/akeneo/pim-community-standard/public /data/web/akeneo_public
160+
ln -s /data/web/akeneo/public /data/web/akeneo_public
162161
```
163162

164163
### Create an Administrator User
@@ -189,7 +188,7 @@ Create a file in the configuration directory of supervisor: ~/supervisor/akeneod
189188

190189
```ini
191190
[program:akeneo_queue_daemon]
192-
command=php /data/web/akeneo/pim-community-standard/bin/console messenger:consume ui_job import_export_job data_maintenance_job --env=prod
191+
command=php /data/web/akeneo/bin/console messenger:consume ui_job import_export_job data_maintenance_job --env=prod
193192
autostart=false
194193
autorestart=true
195194
stderr_logfile=/data/web/akeneo_daemon.err.log
@@ -215,11 +214,11 @@ supervisorctl start akeneo_queue_daemon
215214
Configure your crons by adding these scripts to your crontab file as recommended by Akeneo:
216215

217216
```bash
218-
30 1 * * * php /data/web/akeneo/pim-community-standard/bin/console pim:versioning:refresh
219-
30 2 * * * php /data/web/akeneo/pim-community-standard/bin/console pim:versioning:purge –more-than-days 90
220-
1 * * * * php /data/web/akeneo/pim-community-standard/bin/console akeneo:connectivity-audit:update-data
221-
20 0 1 * * php /data/web/akeneo/pim-community-standard/bin/console akeneo:batch:purge-job-execution
222-
0 1 * * * php /data/web/akeneo/pim-community-standard/bin/console pim:asset:send-expiration-notification
223-
30 4 * * * php /data/web/akeneo/pim-community-standard/bin/console pim:volume:aggregate
224-
* * * * * php /data/web/akeneo/pim-community-standard/bin/console akeneo:batch:job-queue-consumer-daemon
217+
30 1 * * * php /data/web/akeneo/bin/console pim:versioning:refresh
218+
30 2 * * * php /data/web/akeneo/bin/console pim:versioning:purge –more-than-days 90
219+
1 * * * * php /data/web/akeneo/bin/console akeneo:connectivity-audit:update-data
220+
20 0 1 * * php /data/web/akeneo/bin/console akeneo:batch:purge-job-execution
221+
0 1 * * * php /data/web/akeneo/bin/console pim:asset:send-expiration-notification
222+
30 4 * * * php /data/web/akeneo/bin/console pim:volume:aggregate
223+
* * * * * php /data/web/akeneo/bin/console akeneo:batch:job-queue-consumer-daemon
225224
```

0 commit comments

Comments
 (0)