Skip to content

Commit 4b8c5db

Browse files
committed
Added a task file to setup frontend
1 parent c960bc4 commit 4b8c5db

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tasks.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from invoke import task
2+
3+
@task
4+
def set_environment(c, command):
5+
try:
6+
c.run('npm install')
7+
c.run('make build')
8+
c.run('make run')
9+
c.run('make logs')
10+
except:
11+
print('\n Something went wrong')

0 commit comments

Comments
 (0)