Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added a task file to setup frontend
  • Loading branch information
MarcoAguirre committed May 5, 2022
commit 4b8c5dbc82c321e980723f6abf72f26d0d13ee6e
11 changes: 11 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from invoke import task

@task
def set_environment(c, command):
try:
c.run('npm install')
c.run('make build')
c.run('make run')
c.run('make logs')
except:
print('\n Something went wrong')