You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+64-16Lines changed: 64 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Currently, we support only Unix-like operating systems like [Ubuntu](https://ubu
9
9
For windows systems you could use [wsl](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux). To set that up read more [here](https://docs.microsoft.com/en-us/windows/wsl/install-win10).
10
10
11
11
### Dependencies
12
-
One of the of goals of FileFighter is, that the client, that's you, only needs to met only one single dependency.
12
+
One of the of goals of FileFighter is, that the client, that's you, only needs to met one single dependency.
13
13
You need [Docker](https://www.docker.com/).
14
14
Docker is a way to organise and run multiple applications. You can imagine it like a virtual machine (technical it`s a bit different), with a small file- and operating system within your machine.
15
15
Sounds more scary than it actually is. Different Applications run in different containers, these only contain the necessary software to run the application.
@@ -39,27 +39,76 @@ sudo snap install docker
39
39
##### Install with Apt
40
40
Installing with [apt](https://en.wikipedia.org/wiki/APT_(software)) is a bit more difficult you can read [here](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-Docker-on-ubuntu-20-04) more about it.
41
41
42
-
## Usage
42
+
## Installing FileFighter
43
43
After successfully installing Docker you can start using FileFighter.
44
44
Just download this repository as a zipfile [here](https://github.com/FileFighter/ClientSetup/releases/).
45
-
This repository contains one <!-- three --> important script:
46
-
The [initial start](./init_setup.sh) script starts downloading all the services and starts them in different containers. Run it with
45
+
This repository contains the *Install.sh* installation script.
The code can be found at: https://www.github.com/filefighter
79
+
80
+
-------------------------< Show Usage >---------------------------
81
+
82
+
usage: ffighter <args>
83
+
84
+
status - show status of the FileFighter application.
85
+
install - install the FileFighter application.
86
+
start - start the services.
87
+
stop - stop the services.
88
+
remove - remove all services.
89
+
```
90
+
You can see all the available options to run with *ffighter*.
91
+
92
+
| Option | Description |
93
+
| :----: | :----: |
94
+
| status | This command shows you information about the status of the application, like installation status, whether its running or not etc... |
95
+
| install | Download and create all necessary services. |
96
+
| start | Start the services if already downloaded. |
97
+
| stop | Stop the services if running. |
98
+
| remove | Remove all services. |
99
+
100
+
To start the Application just run:
101
+
```shell script
102
+
ffighter install
103
+
```
104
+
And after that
105
+
```shell script
106
+
ffighter start
58
107
```
59
108
After the script succeeds you should be able to see the FileFighter application in your browser.
60
109
Depending on your configuration file (see below), you should see the application after running the script [here](http://localhost:80/).
61
-
You should see a login page. For the first setup you can use the credentials
62
-
`username=adminpassword=admin`
110
+
You should see a login page. For the first setup you can use the credentials.
111
+
`username=admin` and `password=admin`
63
112
To be sure everything is setup correctly click [here](http://localhost:80/health). If everything is green you are good to go.
64
113
65
114
### Configuration
@@ -72,7 +121,6 @@ Valid keys to configure how FileFighter behaves are listed here:
72
121
| frontend_port | 0-65535 | 80 | The port of the webapp (frontend) service. You can visit the FileFighter application over this port. |
73
122
| db_user | any string | root | The name of the Database running in the background. |
74
123
| db_password | any string | none (see below) | The password of the database. (The database won't be exposed to the internet, but passwords never hurt.) |
75
-
| db_port | 0-65535 | 27017 | The port of the database. |
76
124
| db_name | any string | filefighter | The name of the database. |
77
125
| use_stable_versions | true / false | true | When set to true the latest stable versions will be used. When set to false always the latest (possible unstable) versions will be used. |
78
126
@@ -83,7 +131,7 @@ If the `db_password` key is empty, a random password will be generated.
83
131
Be carefully as the developers of FileFighter won't take responsibility when you are using the application or configuration options wrong or in a not intended way.
84
132
85
133
## Remaining Files
86
-
All the remaining not explicitly explained files are important for the scripts to work.
134
+
All the remaining not explicitly explained files are important for the scripts to work and should not be changed manually.
87
135
88
136
## Help
89
137
For further help, feedback or questions write us an [email](mailto:[email protected]).
0 commit comments