This repository is mainly using mlModelSaver
for windows please use wsl
curl https://pyenv.run | bash
# or
curl https://pyenv.run | zsh
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
# https://github.com/pyenv/pyenv/issues/2888
sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev curl \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
pyenv install 3.12.3
pyenv install 3.10
pyenv versions
pyenv global 3.12.3
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
fastapi dev main.py
uvicorn main:app --host=0.0.0.0 --port=${PORT:-9900}
pip install mlModelSaver --upgrade
pip freeze > requirements.txt
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
jupyter notebook \
--notebook-dir="./notebooks" \
--ip=0.0.0.0 --port=3225
# https://www.deadbear.io/simple-serverless-fastapi-with-aws-lambda/amp/
pip install mangum
heroku git:remote jason-ml
heroku login
git push heroku master