0. Getting Started - gty929/IMAGician GitHub Wiki

App Front End Third-Party Dependencies

App Deployment

  1. Open AndroidApp in Android Studio

  2. Select AVD Manager on Android Studio's main menu bar and choose a Phone device according to this tutorial.

  3. Click the Run 'app' button to build and run the project on the device you selected.

Server Back End Third-Party Dependencies

  • SQLite: database that stores all backend persistent data.
  • Flask web framework: web framework for the back end application.
  • Gunicorn: serves as a WSGI application server that bridges the web server and the application.
  • Nginx: accepts requests, takes care of general domain logic, and takes care of handling HTTP connections.
  • hashlib: used for storing user passwords.
  • uuid: used for generating salt for password hashes and unique folders.

Server Deployment

  1. Install and configure Nginx according to this tutorial.
  2. Clone this GitHub repo to the machine that you wish to run the server on.
  3. Open up a new bash terminal with server as the current directory. (cd IMAGician/server)
  4. Run ./scripts/IMAGician_install to install all the dependencies and activate the environment.
  5. Run ./scripts/IMAGician_run to run the server.
  6. Update to HTTPS traffic according to this tutorial

Currently, the server is hosted at https://3.84.195.179/ . The self-signed certificate can be found here