This guide provides instructions for installing the Agila Vocca application on different environments.
To install the project locally with DDEV, the user should follow these steps:
-
Install DDEV on your system if it's not yet installed. You can find DDEV installation instructions on the official DDEV documentation
-
Clone the project repository to your local machine.
-
Navigate to the project directory.
cd <project-directory>
-
Launch the project with DDEV.
ddev start
. During installation root passwort is necessary for installing certs. -
log into webserver with
ddev ssh
and run script ./docker/laravel_setup_script.sh -
check the settings in
.env
-File. You might want to change the following setting for local developmentAPP_ENV=local
APP_DEBUG=true
TELESCOPE_ENABLED=true
To install the project on a server with Docker and Docker-Compose, the user should follow these steps:
- Install Docker and Docker-Compose on the server if they're not yet installed.
- Installation guide: https://docs.docker.com/engine/install/
- Clone the project repository on the server.
- Navigate to the project directory.
cd <project-directory>/docker
- First-run of this service:
docker-compose up setup
(for installation of dependencies) - When the installation is finished, use
docker-compose up app
- make sure you have something in front of this container that handels ssl-termination and support certificates
For installation on a webspace without terminal access, a prepared version of the project is required.
- Create a prepared version of the project on a local machine or server.
- ZIP the AgilaVocca-Folder
- Upload the ZIP-File to your webspace
- (when you update the project, don't zip the .env file- these are the special settings for your project!)
- unzip the file to the destination folder
- remove folders
.ddev
,.idea
- set the starting folder for your domain to
agilavocca/public
- Use the control panel of the provider to configure other settings as needed
- Set up database access as required by the project. (TODO: Add an empty database for user)
- Set up everything in .env-File (TODO: explain the .env-File) Please note that the specific steps may vary depending on your server configuration and hosting provider.