Question: how many points to make a gym gold?
Answer: Defeating a Pokémon on a rival Gym: 1 point for every 100 CP (10 for 1000 CP, 20 for 2000 CP). Losing to a Pokémon on a rival Gym: 5 points. Placing a Pokémon on a friendly Gym: 100 points.