Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Open in Codespaces

Starter Project

GameLog Logo

Setup 🚀

  1. When you first open this project, click 'Install' on the alert that appears:

    Install applications

  2. Ensure you have NodeJs downloaded and installed on your machine

  3. Open a terminal in VS Code by selecting Terminal > New Terminal from the menu

  4. Type the command below into your terminal:

    npm i

    Hit Return on 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! 😴

Database setup

  1. Find the file in your project called .env.example.
  2. Right-click this file and select 'Copy', then 'Paste' it straight away to create a duplicate file.
  3. Right-click the duplicate file and select 'Rename'. Call this new file .env

Create env file

  1. 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.

Starting your server

  • 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:

Fly setup and Deployment

1. Fly Setup

  1. Install flyctl

  2. Sign up and log in to Fly

flyctl auth signup
  1. Setup Fly. It might ask if you want to deploy, say no since you haven't built the app yet.
flyctl launch

2. Deployment

If you've followed the setup instructions already, all you need to do is run this:

npm run deploy

You can run flyctl info to get the url and ip address of your server.

Check out the fly docs for more information.

Help and support

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages