Costs for building software

What would the initial investment be building a knowledge platform and user interface, website like squla from scratch?