Don't load it at all until you can walk comfortably.
Compression, ice and elevate.
Alternative exercises until then - leg curls, leg extensions and single leg squats on the good leg.
You should be able to get back to squatting / deadlifts pretty quick as long as you don't rush it and fuck it up even more.
Find a good physio if you want detailed advice.
Pretty much if it hurts don't do it.
FYI - I just did my ankle 4 weeks back.
I was on crutches the first two weeks. Strapped and compression for the first 5 days.
Walking and squatting after 3 weeks.
Still can't run though.