Town keeps Walmart out, opens own store