diff --git a/README.md b/README.md index 74786b6..207830a 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,11 @@ This is read-only demo with guest account enabled. - Framework free [™](https://www.youtube.com/watch?v=L5jI9I03q8E) -## Requirements +## Minimum Requirements - PHP 7.1.3+ +See [install instructinos](https://docs.filegator.io/install.html) for Ubuntu 18.04 or Debian 10.3. Get $100 in ([server credits here](https://m.do.co/c/93994ebda78d)) so you can play around. + ## Download precompiled build Precompiled build is created for non-developers. In this version, the frontend (html, css and javascript) is compiled for you and the source code is removed so the final archive contains only minimum files. @@ -117,8 +119,6 @@ npm install npm run build ``` -We also have a sample docker image [here](https://github.com/filegator/demo) - ## Compiles and hot-reloads diff --git a/docs/development.md b/docs/development.md index 9e162ea..f00fad3 100644 --- a/docs/development.md +++ b/docs/development.md @@ -17,8 +17,6 @@ npm install npm run build ``` -We also have a sample docker image [here](https://github.com/filegator/demo) - ## Compiles and hot-reloads The following command will launch backend and frontend on ports 8081 and 8080: diff --git a/docs/install.md b/docs/install.md index fa5f4f0..f6b45c9 100644 --- a/docs/install.md +++ b/docs/install.md @@ -2,7 +2,7 @@ currentMenu: install --- -## Requirements +## Minimum Requirements - PHP 7.1.3+ @@ -11,16 +11,16 @@ Precompiled build is created for non-developers. In this version, the frontend ( - Download: [v7.3.4](https://github.com/filegator/static/raw/master/builds/filegator_v7.3.4.zip) - Unzip files and upload them to your PHP server -- Make sure your webserver can read and write to `/repository` and `/private` folders -- Set the website document root to `/dist` directory. This is also known as 'public' folder -- Visit web page, if something goes wrong check `/private/logs/app.log` +- Make sure your webserver can read and write to `filegator/repository/` and `filegator/private/` folders +- Set the website document root to `filegator/dist/` directory. This is also known as 'public' folder +- Visit web page, if something goes wrong check `filegator/private/logs/app.log` - Login with default credentials `admin/admin123` - Change default admin's password NOTE: For security reasons `/dist` is the ONLY folder you want to be exposed through the web. Everything else should be outside of your web root, this way people can’t access any of your important files through the browser. ## Install on fresh Ubuntu 18.04 or Debian 10.3 -On a new server, login as root and copy/paste this into the shell: +On a new server ([get $100 in credits for servers here](https://m.do.co/c/93994ebda78d)) login as root and copy/paste this into the shell: ``` apt update apt install -y wget unzip apache2 php libapache2-mod-php php-zip @@ -42,6 +42,7 @@ a2dissite 000-default.conf a2ensite filegator.conf systemctl restart apache2 +exit ``` Open your browser and go to http://your_server_ip_address