This repository contains a shell script to automate the setup process for QFieldCloud, including installing Docker, pulling the repository, and configuring the environment.
- Ubuntu or Debian-based system
wget
installed
Follow these steps to install and set up QFieldCloud using this script.
Use the following wget
command to download the script:
wget https://raw.githubusercontent.com/kentemman-gmd/QfieldCloud-Setup/refs/heads/main/setup.sh -O setup.sh
Make the script executable and run it:
sudo chmod +x setup.sh
./setup.sh
Navigate to the QFieldCloud directory:
cd QFieldCloud
When the script stops after opening the .env
file, update the environment variables as needed. After you're done editing, save the file and exit nano by pressing Ctrl + X, followed by Y and Enter.
sudo docker compose up -d --build
sudo docker compose exec app python manage.py migrate
sudo docker compose run app python manage.py collectstatic --noinput
sudo docker compose exec app python manage.py status
sudo docker compose run app python manage.py createsuperuser --username kentemman --email [email protected]