fuware-be/README.md
2024-06-06 11:10:24 +00:00

1.3 KiB

fuware

the warehouse use to tracking item in house

Project setup

install Taskfile first with this command line:

  • for macOS, linux:

    brew install go-task
    
  • for windows:

    winget install Task.Task
    

    or

    npm install -g @go-task/cli
    

more information : Link

install pnpm for front-end with command line:

npm i pnpm -g

install poetry for back-end with command line:

curl -sSL https://install.python-poetry.org | python3 -

for more information please see here : Link

Common CLI

alembic

generate migration

alembic revision -m "version message"
alembic upgrade head
alembic history
alembic current
alembic downgrade -1
alembic upgrade +1

generate migration auto code

alembic revision --autogenerate -m "version message"

Back-end

Usage

task be

Front-end

Usage

task fe:i

Learn more on the Solid Website

Available Scripts

In the project directory, you can run:

task fe

Deployment

Learn more about deploying your application with the documentations