This commit is contained in:
Milos Stojanovic
2020-04-03 09:26:21 +02:00
parent bba1f9a25c
commit 1512fd26b9
3 changed files with 9 additions and 10 deletions

View File

@@ -92,9 +92,11 @@ This is read-only demo with guest account enabled.
- Framework free [](https://www.youtube.com/watch?v=L5jI9I03q8E) - Framework free [](https://www.youtube.com/watch?v=L5jI9I03q8E)
## Requirements ## Minimum Requirements
- PHP 7.1.3+ - 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 ## 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. 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 npm run build
``` ```
We also have a sample docker image [here](https://github.com/filegator/demo)
## Compiles and hot-reloads ## Compiles and hot-reloads

View File

@@ -17,8 +17,6 @@ npm install
npm run build npm run build
``` ```
We also have a sample docker image [here](https://github.com/filegator/demo)
## Compiles and hot-reloads ## Compiles and hot-reloads
The following command will launch backend and frontend on ports 8081 and 8080: The following command will launch backend and frontend on ports 8081 and 8080:

View File

@@ -2,7 +2,7 @@
currentMenu: install currentMenu: install
--- ---
## Requirements ## Minimum Requirements
- PHP 7.1.3+ - 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) - 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 - Unzip files and upload them to your PHP server
- Make sure your webserver can read and write to `/repository` and `/private` folders - Make sure your webserver can read and write to `filegator/repository/` and `filegator/private/` folders
- Set the website document root to `/dist` directory. This is also known as 'public' folder - Set the website document root to `filegator/dist/` directory. This is also known as 'public' folder
- Visit web page, if something goes wrong check `/private/logs/app.log` - Visit web page, if something goes wrong check `filegator/private/logs/app.log`
- Login with default credentials `admin/admin123` - Login with default credentials `admin/admin123`
- Change default admin's password - 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 cant access any of your important files through the browser. 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 cant access any of your important files through the browser.
## Install on fresh Ubuntu 18.04 or Debian 10.3 ## 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 update
apt install -y wget unzip apache2 php libapache2-mod-php php-zip apt install -y wget unzip apache2 php libapache2-mod-php php-zip
@@ -42,6 +42,7 @@ a2dissite 000-default.conf
a2ensite filegator.conf a2ensite filegator.conf
systemctl restart apache2 systemctl restart apache2
exit
``` ```
Open your browser and go to http://your_server_ip_address Open your browser and go to http://your_server_ip_address