Install Node And It’s Respective Components
Email username to admin@hashtagsell.com for share to private repo
cd /path/to/htsApp
sudo npm install
Node Modules
in your htsApp folderBower install
bower_components
directory inside the htsApp project folderMongo must be running on your local machine before running HTS
sudo mongod --dbpath path/to/your/db
{
"secret" : {
"expired" : false,
"generated_by" : "anything@anywhere.com",
"type_of_key" : "individual",
"key" : "29a6f7",
"used_by" : []
}
}
cd /path/to/freegeoip/directory
./freegeoip
cd /path/to/htsApp
grunt
early_access_keys
collection.grunt build-dev
concatenates and minimizes all Javascript/CSS in /app directory and saves in /app/dist_dev. You can test the generated files by updating index.ejs to use these files.grunt commit-dev
picks up all files (even those generated by build-dev) and commits them github dev branch. This repo is then deployed to dev EC2 @ dev.hashtagsell.com.grunt deploy
concatenates and minimizes all Javascript/CSS in /app directory and saves in /app/dist_prod. All production necessary files are included copied to /app/dist_prod. /app/dist_prod is then pushed to github production branch and deployed to production EC2 @ beta.hashtagsell.com.