Ssh is using the ssh protocol to connect to your server Open your terminal and type the following command Go to your email and grab the ip address and password of your new server Ignore other options and go to ‘Choose a hostname’ Go to and signup for an accountĬhoose a datacenter for the area closest to you Go to your localhost: and see that your code is working and debug This will build your project with the code minified and bundled together. Try it out on your computer by opening your terminal and running Open your public/index.html and change your title to be the name of your app Res.sendFile(path.resolve(_dirname, ".", "build", "index.html")) Ĭhange your db in your settings.js file to take the full url not just your db name Setup your root / to be direct to your index.html.Setup ‘static files’ in your express serverĪpp.use(express.static(path.resolve(_dirname, ".", "build"))) Modifying your app to server your react code A Domain name bought through namecheap or someone other service that allows custom DNS.Full stack application that is connected to repo on git.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |