Files
2023_WEBSITE_jipf/notes.md
2024-02-13 20:41:06 +01:00

25 lines
816 B
Markdown

### infos
- need acf installed on wp to work, because it uses the acf function `get_field()`
### duplicator wordpress
- https://duplicator.com/knowledge-base/classic-install/
- installer.php has two errors :
- delete first blank line
- close last line comment
1. download .zip and installer.php
2. put them on the server :
- in an empty file, accessible with url
- then go to this file with url, and go to installer.php
- in the steps you have to inform a database
- use a new database, because it will erase everything
- use localhost for the host, i dont know why
### commands
- `docker exec -ti <container-name> bash` to run bash inside a running container
- `docker logs <container_name>` to see the logs on standard output of a container
- `docker ps` to list the container, and see their names