Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.43 KB

README.md

File metadata and controls

68 lines (51 loc) · 2.43 KB

findme-logo

findMe development Workspace 🤖

Quick Access Links

Overview

The development workspace is configured as a pycharm project. It is intended to be used as the project folder. Each repository used for development will be cloned inside this workspace.

workspace
-- .idea # pycharm project configuration
-- scripts # configuration / commit scripts
  # findme repositories
-- backend
-- frontend
-- shared
-- workspace.wiki # findme wiki
docker-compose.yml # to run application locally

Setup

Prerequisites

Initialization

After cloning this repository run python scripts/initialize_project.py this will:

  • configure your git config
  • clone all necessary repositories
  • initialize pre-commit checks in each repository (you can do it manually by running pre-commit install in each repository)

Running the application

The findMe application is designed and built as a cloud native application. To run the application locally we use docker and docker compose. By running docker compose up --build from the root directory of this workspace the application will be started locally. After the initial build you can use docker compose up to start the application. However, this will not include any changes made to the backend repository since the last build.

Our docker compose defines the following services:

  - localstack-main # emulates AWS services for local development
  - serverless # used to deploy the AWS services to localstack (shuts down after successful execution)
  - frontend # mounted frontend code, serves the frontend on localhost:8100

After the serverless container has stopped the application is ready and accessible on http://localhost:8100, use chrome and its mobile view that can be activated in the dev tools to simulate a mobile device.