-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-removed docker from being provisioned -fixed the vm setup script
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 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
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 |
---|---|---|
|
@@ -9,14 +9,16 @@ sudo apt-get install npm | |
|
||
echo "Copying Over Assets" | ||
|
||
cp /vagrant/bookApp/{index.js,db-connector.js,package.json,Dockerfile,test_endpoints.json} . | ||
sudo cp /vagrant/bookApp/{index.js,db-connector.js,package.json,Dockerfile,test_endpoints.json} . | ||
|
||
echo "Installing Dependencies" | ||
|
||
npm install | ||
sudo npm install | ||
|
||
# echo "Testing the Application" | ||
# artillery run test_endpoints.json | ||
echo "Testing the Application" | ||
|
||
sudo npm install -D [email protected] --save | ||
sudo artillery run test_endpoints.json | ||
|
||
# echo "Building the Docker Image" | ||
# docker build --tag bookapp:1.0 . | ||
|