mirror of
https://github.com/FAUSheppy/jeffrey_miller_flask_ftp
synced 2025-12-06 15:31:41 +01:00
add project structure
This commit is contained in:
12
README.md
12
README.md
@@ -1,3 +1,13 @@
|
||||
# Project Structure
|
||||
|
||||
server.py # the main flask server
|
||||
app.py # the flask app wrapper that can be started via wsgi
|
||||
scripts/ # user add/deletion scripts used for usermanagement
|
||||
static/ # static files of the flask webserver (js/css etc.)
|
||||
templates/ # jinja html templates used by the webserver (the actual webpages)
|
||||
setup.sh # remote setup script
|
||||
aws/ # aws templates/files
|
||||
|
||||
# Local Requirements
|
||||
## setup.sh
|
||||
|
||||
@@ -40,4 +50,4 @@ The start script (*setup.sh*) performs the following task in this order:
|
||||
|
||||
- create a keypair called *"flask-ftp"* or change the value of *"KeyName"* in *aws/template.yml* to an existing key pair (see "AWS Network & Security -> Key Pairs" for details)
|
||||
- create a new stack (CloudFormation -> Stacks -> Create Stack) and upload the template (*aws/template.yml*)
|
||||
- goto Instances, select Security and click the security group, add inbound for the ports you want to use (e.g. 80, 443 or 5000)
|
||||
- goto Instances, select Security and click the security group, add inbound for the ports you want to use (e.g. FTP Ports, 80, 443 or 5000, allowing all for simplicity, is reasonably safe too in this case, since there's nothing running on the server except the public services)
|
||||
|
||||
Reference in New Issue
Block a user