diff --git a/README.md b/README.md index 5938017..065d87e 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,18 @@ This script will: - Ensure proper permissions. - Create the needed configuration Files + +Download Latest release of frontend and extract its content to `mikrofront/dist` folder +Find latest release from following url: +https://github.com/MikroWizard/mikrofront/releases + +```bash +cd mikrofront/dist/ +wget https://github.com/MikroWizard/mikrofront/releases/download/1.0.2-stable/mikrofront-1.0.2.tar.gz +tar xvzf mikrofront*.tar.gz +``` + - To verify the contents make sure there is a `html` folder inside `mikrofront/dist` folder with lots of html,js files + ### Step 4: Start the Services Use Docker Compose to build and start the services: @@ -115,7 +127,7 @@ Host directories `conf`, `firmware`, and `backups` are mapped to container paths ### Common Issues 1. **Database Connection Errors**: - - Verify the `DB_HOST` in `.env` points to `host.docker.internal` or the appropriate host. + - Verify the `DB_HOST` in `.env` points to `host.docker.internal` or the appropriate host leave it 127.0.0.1 for default installation. 2. **Permission Denied**: - Ensure you have execution permissions for `prepare.sh`. diff --git a/mikrofront/Dockerfile b/mikrofront/Dockerfile index b6dea53..a6805ec 100644 --- a/mikrofront/Dockerfile +++ b/mikrofront/Dockerfile @@ -20,7 +20,7 @@ RUN chmod 0644 /etc/cron.d/mwcrontab RUN crontab /etc/cron.d/mwcrontab -COPY dist/mikrofront /usr/share/nginx/html +COPY dist/html /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80