-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added .replit file and a init-replit script to facilitate usage in re…
…plit.
- Loading branch information
1 parent
9a80260
commit 42d5dd4
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
language = "nodejs" | ||
run = "npm start" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
echo "Removing old node_modules..." | ||
rm -rf node_modules | ||
|
||
echo "Installing [email protected]..." | ||
npm i --save-dev [email protected] | ||
|
||
echo "Configuring npm [email protected]..." | ||
npm config set prefix=$(pwd)/node_modules/node | ||
export PATH=$(pwd)/node_modules/node/bin:$PATH | ||
|
||
echo "Reinstalling dependencies..." | ||
npm install | ||
|
||
echo "Installing ffmpeg-static..." | ||
npm install --save-dev ffmpeg-static |