-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a minimal install option (no Apache)
Now that we have a CLI, the web UI is optional. Well, optional in the sense that you don't strictly need it, but truth be told it is still a lot nicer to use. But, maybe you don't want to run a web server on your machine, or maybe you want to do the analysis on one system and display it using another. This should all be possible now. Signed-off-by: Brian Warner <brian@bdwarner.com>
- Loading branch information
1 parent
93eb8d2
commit ebaca7e
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2016-2018 Brian Warner | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
echo " | ||
This script will install the necessary dependencies to run Facade in headless | ||
mode. This means that it will not install Apache or the required PHP packages. | ||
You must use the CLI to configure Facade and export analysis data, which is | ||
available in cli/facade.py | ||
You can always convert to a full installation by running the full script to fill | ||
in any missing packages, should you change your mind later: | ||
$ ./install_deps-deb-full.sh | ||
Installing any missing dependencies... | ||
" | ||
|
||
sudo apt-get install mysql-client mysql-server \ | ||
python3 python3-mysqldb python3-bcrypt python3-xlsxwriter python3-texttable | ||
|
||
echo " | ||
If everything went well, your next step is to run setup: | ||
$ ./setup.py | ||
" | ||
|