forked from Tchook115/TaleIllustratorWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (30 loc) · 711 Bytes
/
Makefile
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
# ----------------------------------
# LOCAL SET UP
# ----------------------------------
install_requirements:
@pip install -r requirements.txt
# ----------------------------------
# HEROKU COMMANDS
# ----------------------------------
streamlit:
-@streamlit run app.py
heroku_login:
-@heroku login
heroku_create_app:
-@heroku create ${APP_NAME}
deploy_heroku:
-@git push heroku master
-@heroku ps:scale web=1
# ----------------------------------
# LOCAL INSTALL COMMANDS
# ----------------------------------
install:
@pip install . -U
clean:
@rm -fr */__pycache__
@rm -fr __init__.py
@rm -fr build
@rm -fr dist
@rm -fr *.dist-info
@rm -fr *.egg-info
-@rm model.joblib