Skip to content

Commit

Permalink
feat: add setup app
Browse files Browse the repository at this point in the history
  • Loading branch information
dkzhen committed Oct 25, 2023
1 parent d2a88d9 commit e2341e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 68 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def logo():
def creditInstall():
print("+--------------------------------------------+")
print("| "+'\u001b[33m'"Congratulation!!" +
'\u001b[0m'" All library terinstall |")
'\u001b[0m'" All library installed |")
print("| Silahkan Jalankan " +
'\u001b[31m'"'python setup.py -dev'"+'\u001b[0m'" |")
print("| |")
Expand Down Expand Up @@ -139,7 +139,8 @@ def install_libraries():
for library in required_libraries:
try:
subprocess.check_call(['pip', 'install', library])
print(f'Library {library} telah diinstal.')
print('\u001b[33m' +
'Library '+library+' telah diinstal.'+'\u001b[0m')
except subprocess.CalledProcessError as e:
print(f'Error installing {library}: {e}')
migrate()
Expand All @@ -154,7 +155,8 @@ def install_libraries():


if 'secret-key' in sys.argv:
print('+------------------------------------------------------------------------+')
print(
'\u001b[33;1m'+'+------------------------------------------------------------------------+')
print("| "+'\u001b[36;1m'"Your Secret key:"+'\u001b[0m'+'\u001b[33;1m'+" '{key}' |".format(
key=generate_random_string()))
print(
Expand Down
65 changes: 0 additions & 65 deletions setup.py.bak

This file was deleted.

1 comment on commit e2341e1

@vercel
Copy link

@vercel vercel bot commented on e2341e1 Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

django-kmeans-uznp – ./

django-kmeans-uznp.vercel.app
django-kmeans-uznp-dkzhen.vercel.app
django-kmeans-uznp-git-main-dkzhen.vercel.app

Please sign in to comment.