-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme
39 lines (26 loc) · 874 Bytes
/
Readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## NAG-AKDA/AUTHOR ##
Kathryn Anne S. Tan
## add __init__.py to the directory as a package:
- touch __init__.py
## Operating with venv( to encapsulate python and packages within an isolated environment )
Create virtual environment for project:
- python3 -m venv venv
Activate venv:
- . venv/bin/activate
Install requirements:
- pip install -r requirements.txt
Add env variables:
- export $( cat .env )
Start Flask:
- flask run
# FOREACH NEW FOLDER
# Make sure __init__ file is present within the dir
# Folder Flow:
main.py route ( request action )->
resources/file ( match requested action with controller )->
controllers ( business logic )->
schema ( validate and transform input )->
data ( direct requests to db )
# BINANCE WRAPPER:
https://python-binance.readthedocs.io/en/latest/
https://github.com/sammchardy/python-binance/blob/master/docs/index.rst