add grunt support and https mode