DEV Community

TheTruth4418
TheTruth4418

Posted on

Deploying to Netlify!(React)

You just spent hard time developing an application and are extremely proud of your work, now time to... just look at it and show your household? NO! Time to push that awesome work of art out for the whole wide world to see! Im going to take you step by step while keeping it as simple as possible on deploying your application to Netlify.

-Project
Make sure your frontend is in its own repo! Netlify wont be able to read the program that has the full-stack in one repo.

  • Starting on Netlify! First and foremost, create your account on Netlify, connect it to your github as this is how your site will be read!

-Site creation
Choose the option that reads "New site from Git". After this, choose GitHub as the provider, then choose your desired repository. Set up your branch.

In Build command type in "CI= npm run build", in publish directory type in "build".

After you hit deploy site! Well done you have deployed your work of art! Happy coding!

Top comments (0)