Author: Ben Schwabe
Webpage: https://github.com/scytail/AirHaven-BackEnd
Keep your files secure in your own flying fortress in the clouds.
This application is designed to be a back end file server "haven" to which a all sorts of applications can "dock" to trade and interact with the files stored.
- Python 3.3+
- Virtualenv
- Set up a python virtual environment by executing
virtualenv flaskenv
from inside the directory that the webapp will reside. - Activate the virtual environment. Documentation on how to do so can be found here.
- Install the dependencies by executing
pip install -r requirements.txt
from the same subfolder that therequirements.txt
file is located.
- Confirm that the software has been set up and that the configuration settings are correct.
- Execute
Dock.py
and confirm that the ip and port were properly bound and that the web server is running. - Make API calls as needed, or view the UI by taking your API server's URL and appending
/ui
to it.
The configuration data for the application is located in config/app-config.yaml
, and is a standard YAML script file. The details for the specific configuration settings are found below.
app/host
: The IP address on which the server will run.app/port
: The port on which the server will listen.files/root_folder
: The root directory in which all user root folders will be saved. To use an absolute path, start the path with a forward slash (/
), followed by the path. To use a relative path, omit the leading forward slash. Never end the path with a forward slash.