rebuild the project and init the code