Step 1 : In php.ini file, make sure that memory_limit value is not less than 512M:
Step 2: Open Command Prompt
Step 3: go to the magento directory
Step 4: run this command “php bin/magento setup:static-content:deploy”
Here you are ready with your templates