-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed entries and added installation script
- Loading branch information
1 parent
211afcb
commit bf8926f
Showing
15 changed files
with
49,526 additions
and
11,680 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,29 @@ | ||
#!/bin/bash | ||
# ---------------------------------- | ||
# Colors | ||
# ---------------------------------- | ||
NOCOLOR='\033[0m' | ||
RED='\033[0;31m' | ||
GREEN='\033[0;32m' | ||
ORANGE='\033[0;33m' | ||
BLUE='\033[0;34m' | ||
PURPLE='\033[0;35m' | ||
CYAN='\033[0;36m' | ||
LIGHTGRAY='\033[0;37m' | ||
DARKGRAY='\033[1;30m' | ||
LIGHTRED='\033[1;31m' | ||
LIGHTGREEN='\033[1;32m' | ||
YELLOW='\033[1;33m' | ||
LIGHTBLUE='\033[1;34m' | ||
LIGHTPURPLE='\033[1;35m' | ||
LIGHTCYAN='\033[1;36m' | ||
WHITE='\033[1;37m' | ||
|
||
echo 'Installing Contentstack CLI' | ||
npm install || { echo -e '\e[31mFailed to install root dependencies.' && exit 1; } | ||
npx lerna clean -y | ||
npx lerna bootstrap | ||
npx lerna run pack || { echo -e '\e[31mInstallable tarball creation failed.' && exit 1; } | ||
echo 'Installtion, Done!!!' | ||
cd packages/contentstack | ||
./bin/run --help |
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
Oops, something went wrong.