brew install memcached
brew services start memcached
cd /path/to/stockcharts
npm install
npm start
Then visit http://localhost:3000/
You can change the port number by setting the $PORT
environment variable before invoking any of the scripts above, e.g.,
PORT=3001 npm start
echo 'flush_all' | nc localhost 11211