Set up local database environment