Source code for an open database for storing fishery data
1.0K
Source code for a database for open fishery data
by RJ
-- assets/ (sub-folder for non-python code and project resources)
-- data/ (sub-folder for ephemeral data stored on image)
-- methods/ (sub-folder for application specific python classes)
-- models/ (sub-folder for data object model declarations)
-- static/ (sub-folder for public accessible application content)
-- templates/ (sub-folder for html templates)
startServer.sh
Creates container with required volumes and starts flask on a gunicorn server
Requires:
rebuildDocker.sh
Initiates an automated build command on Docker to update base image
Requires:
tunnelMe.sh
Initiates a secure tunnel from local device to endpoint on localtunnel.me
Requires:
The Git and Docker repos contain all the configuration for deployment to AWS.
Google Drive can be used to synchronize local copies across multiple dev devices.
Use AWS IAM to assign user permissions and create keys for each collaborator.
Collaborators are required to install dependencies on their local device.
Repo should be FORKED by collaborators so reality is controlled by one admin.
New dependencies should be added to the Dockerfile, NOT to the repo files.
Collaborators should test changes to Dockerfile locally before merging to remote:
docker build -t test-image .
.gitignore and .dockerignore have already been installed in key locations.
To prevent unintended file proliferation through version control & provisioning,
add/edit .gitignore and .dockerignore to include all new:
Content type
Image
Digest
Size
35.4 MB
Last updated
over 10 years ago
docker pull rc42/fishbase