- Setup virtual environment
python3 -m venv venv
- Use virtual environment
- Linux/Mac
source venv/bin/activate
- Windows
venv\Scripts\activate.bat
- Linux/Mac
- Install requirements
pip install -r requirements.txt
- Run http app
python3 run.py http
-
python3 run.py ucase new
-
Folder new ucase : {new-ucase-folder-name}
-
New UCase name (on app/ucase/package) : {new-ucase-name}
-
-
python3 run.py ucase update
-
Folder existing ucase : {existing-ucase-folder-name}
-
New UCase name (on app/ucase/package) : {new-ucase-name}
-
-
You will got new file like this
python3 run.py migration --create="create table users"
migrations/1739724108_321825_create_table_users.py
-
python3 run.py migration --migrate=up
-
python3 run.py migration --migrate=down