4. Running your site locally
TL;DR: In this section, you'll learn how to run LoopGate on your local computer, and how to push changes you make to your GitHub repository.
Last updated
TL;DR: In this section, you'll learn how to run LoopGate on your local computer, and how to push changes you make to your GitHub repository.
Last updated
Open the terminal in your code editor.
Type npm install
, and hit enter.
Type npm run dev
, and hit enter.
Your app should now be running locally on your computer! 🚀
You can access it by opening a browser and going to the following URL:
Now your LoopGate is running on your local machine, it's time to check the .env
file.
This checks the secrets in your .env
file: if these are misconfigured, LoopGate will not work.
If you've made changes to the config, you'll probably want your users to see this too.
Follow these steps to update your code in GitHub:
Check the files you'd like to update and 'stage' them.
'Commit' them by inputting a concise message of what you updated.
'Push' them to your GitHub repository by clicking 'Push'.
Go to the following url: .
Confused as to how GitHub works? Check out their excellent tutorial: