Set Up
brew install memcached
brew services start memcached
cd /path/to/stockcharts
npm install
npm start
Then visit http://localhost:3000/
Changing the Port
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
Flushing Memcached Server
echo 'flush_all' | nc localhost 11211