Setup $rource for code postings