hex22a / magi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MAGI

Backend server for AI experiments running in WEB

Installation

This project uses Conda to manage project dependencies. Also recommended to use pyenv as a Python version manager so you can have multiple concurrent versions of python installed on your machine. Check out pyenv-installer or install via brew if you're on Mac.

Clone this repo and switch current directory

git clone git@github.com:hex22a/magi.git && cd ./magi

Install conda (miniconda)

pyenv install miniconda3-latest

Create virtual Conda environment

The following command will create env folder in your project directory. This folder will contain local Python executable as well as all of the dependencies.

conda env create --prefix ./envs -f environment.yml

Notice that it also installs dependencies listed in environment.yml

Activate the environment

After creating an environment you need to tell shell to start actually using it.

conda activate ./envs

After running this command you will notice that your command line prompt is now prefixed with a full path to your env folder.

For more information visit Conda Docs

Running server

python ./src/start_server.py

Testing

TBD;

Deployment

TBD;

Useful commands

TBD;

About

License:MIT License


Languages

Language:Python 100.0%