<commit_before>cd /var/www/drmongo-demo
forever stop drmongo-demo
rm -rf bundle-copy-old
mv bundle-copy bundle-copy-old
cp -r bundle bundle-copy
rm -rf bundle
tar xfz drmongo-demo.tar.gz -C /var/www/drmongo-demo
mkdir bundle/programs/server/node_modules
rm -rf bundle/programs/server/npm/npm-bcrypt
npm install bcrypt
pushd bundle/programs/server/node_modules
rm -rf fibers
npm install fibers
npm install underscore
npm install source-map-support
npm install semver
popd
PORT=3011 ROOT_URL=http://demo.drmongo.com MONGO_URL=mongodb://192.168.4.62:27017/drmongo-demo MONGO_OPLOG_URL=mongodb://192.168.4.62:27017/local LC_ALL="en_GB.UTF-8" forever -a --uid "drmongo-demo" start bundle/main.js


cd /var/www/drmongo-demo
forever stop drmongo-demo
PORT=3011 ENVIRONMENTTYPE=demo ROOT_URL=http://demo.drmongo.com MONGO_URL=mongodb://192.168.4.62:27017/drmongo-demo MONGO_OPLOG_URL=mongodb://192.168.4.62:27017/local LC_ALL="en_GB.UTF-8" forever -a --uid "drmongo-demo" start bundle/main.js


tail -f -n 200 /var/www/.forever/drmongo-demo.log
<commit_msg>Commands<commit_after>// DEMO 

cd /var/www/drmongo-demo
forever stop drmongo-demo
rm -rf bundle-copy-old
mv bundle-copy bundle-copy-old
cp -r bundle bundle-copy
rm -rf bundle
tar xfz drmongo-demo.tar.gz -C /var/www/drmongo-demo
mkdir bundle/programs/server/node_modules
rm -rf bundle/programs/server/npm/npm-bcrypt
npm install bcrypt
pushd bundle/programs/server/node_modules
rm -rf fibers
npm install fibers
npm install underscore
npm install source-map-support
npm install semver
popd
PORT=3011 ROOT_URL=http://demo.drmongo.com MONGO_URL=mongodb://192.168.4.62:27017/drmongo-demo MONGO_OPLOG_URL=mongodb://192.168.4.62:27017/local LC_ALL="en_GB.UTF-8" forever -a --uid "drmongo-demo" start bundle/main.js


cd /var/www/drmongo-demo
forever stop drmongo-demo
PORT=3011 ENVIRONMENTTYPE=demo ROOT_URL=http://demo.drmongo.com MONGO_URL=mongodb://192.168.4.62:27017/drmongo-demo MONGO_OPLOG_URL=mongodb://192.168.4.62:27017/local LC_ALL="en_GB.UTF-8" forever -a --uid "drmongo-demo" start bundle/main.js


tail -f -n 200 /var/www/.forever/drmongo-demo.log



{'fraction_non_alphanumeric': 0.12731591448931118, 'fraction_numerical': 0.0655581947743468, 'mean_word_length': 4.4986945169712795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6051930', 'n_tokens_mistral': 943, 'n_tokens_neox': 798, 'n_words': 166}