Skip to content

Commit

Permalink
docker: add run script for nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 1, 2024
1 parent dd74127 commit dd65109
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ function run_php() {
sudo service nginx reload
}

function run_nodejs() {
cd "/home/ishocon/webapp/$app_lang"
npm install
make_tmp_file
node index.js
}

function run_crystal() {
cd "/home/ishocon/webapp/$app_lang"
shards install
Expand Down

0 comments on commit dd65109

Please sign in to comment.