-
When you first open this project, click 'Install' on the alert that appears:
-
Ensure you have NodeJs downloaded and installed on your machine
-
Open a terminal in VS Code by selecting
Terminal > New Terminalfrom the menu -
Type the command below into your terminal:
npm i
Hit
Returnon your keyboard to run it.This will download all of the Node Packages you need to run the Remix starter project on your machine.
It takes a while, so be patient! 😴
- Find the file in your project called
.env.example. - Right-click this file and select 'Copy', then 'Paste' it straight away to create a duplicate file.
- Right-click the duplicate file and select 'Rename'. Call this new file
.env
-
Next, run the following command in your terminal:
npm run setup
This will create the database for your project. Again, it takes a while so be patient.
-
Run the following command in your terminal:
npm run dev
This starts your app in development mode, rebuilding assets and refreshing your browser page on file changes.
If everything has worked, you should seen the screen below in your default browser:
-
Sign up and log in to Fly
flyctl auth signup- Setup Fly. It might ask if you want to deploy, say no since you haven't built the app yet.
flyctl launchIf you've followed the setup instructions already, all you need to do is run this:
npm run deployYou can run flyctl info to get the url and ip address of your server.
Check out the fly docs for more information.

