System¶
chown(context, owner='${USER}', path='.')
¶
Change ownership of files to user.
Shortcut for owning apps dir by specified user after some files were generated using docker-compose (migrations, new app, etc).
Source code in saritasa_invocations/system.py
64 65 66 67 68 69 70 71 72 73 74 75 76 | |
copy_local_settings(context, force_update=False)
¶
Copy local settings from template.
context: invoke's context
force_update: rewrite file if exists or not
Source code in saritasa_invocations/system.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
copy_vscode_settings(context, force_update=False)
¶
Copy vscode settings from template.
context: invoke's context
force_update: rewrite file if exists or not
Source code in saritasa_invocations/system.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |
create_tmp_folder(context)
¶
Create folder for temporary files.
Source code in saritasa_invocations/system.py
79 80 81 82 | |