Git Product home page Git Product logo

atlas's Introduction


Welcome to the Atlas API! This API provides alternative data to venture capital firms to help them make better investing decisions. We collect, quantify, and analyze metrics and patterns using machine learning to assist in the sourcing, analysis, and management of investments.

Table of Contents


Technologies


Project is created with:

  • Kubernetes
  • Docker >= 20.15.17
  • Redis
  • Postgres
  • Python >= 3.10
  • Poetry >= 1.2.0
  • Fast-api
  • Pydantic
  • Scikit-learn

Getting Started


The application can be run using the command line or deployed using a Docker container. Below are instructions for running the application both in and outside of a Docker container.

  • Clone the repository
git clone [email protected]:Sean-Koval/atlas.git

Build and Deploy with Minikube

Move into root directory and run bash script 'run.sh' while passing one of the required flags [-b, -d, -a, -g, -c] It is important that you grant proper permissions to run bash script with ./run.sh -flag

  • To Build Image (minikube) (Step 1):
 $ ./run.sh -b
$ ./run.sh -d 
  • To Build and Deploy (minikube) (Step 1 and 2):
$ ./run.sh -a
  • To Clean Up Minikube
$ ./runs.h -c

Build and Deploy to AKS

Running these commands will deploy the application (including redis and all necessary deployments/services) to AKS within the sean-koval namespace (and cluster).

  • Build, Tag, and Push Docker Image to ACR Registry
$ ./push.sh
  • Deploy to Production (AKS - Azure)
$ kustomize build ./.k8s/overlays/prod | kubectl apply -f -

Testing

Tests are eay to run using the 'run.sh' file and by passing the -t flag (testing)

$ ./run.sh -t

Run Tests Manually

The tests can also be run outside of the 'run.sh' file by first setting up the development environment.

$ poetry shell && poetry install

To run testing (pytest) for the Fast-API application from the root folder run the below command.

$ cd lab2
$ poetry run pytest ./tests -vvvv 

This will run all of the tests and produce a verbose output in the terminal.


atlas's People

Contributors

sean-koval avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.