GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JavaScriptRegenerated/javascript-regenerated

BranchesTags
Open more actions menu

Latest commit

 

History

84 Commits
84 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
app
app
 
 
public
public
 
 
server
server
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
remix.config.js
remix.config.js
 
 
remix.env.d.ts
remix.env.d.ts
 
 
vercel.json
vercel.json
 
 

Repository files navigation

Welcome to Remix!

  • Remix Docs
  • Customer Dashboard

Vercel Setup

First you'll need the Vercel CLI:

npm i -g vercel

Before you can run the app in development, you need link this project to a new Vercel project on your account.

It is important that you use a new project. If you try to link this project to an existing project (like a Next.js site) you will have problems.

$ vercel link

Follow the prompts, and when its done you should be able to get started.

Development

You will be running two processes during development when using Vercel as your server.

  • Your Vercel server in one
  • The Remix development server in another
# in one tab
$ vercel dev

# in another
$ npm run dev

Open up http://localhost:3000 and you should be ready to go!

If you'd rather run everything in a single tab, you can look at concurrently or similar tools to run both processes in one tab.

Deploying

You will need to add your npmrc with your Remix token to your server's environment:

When you ran npm init remix, we probably created an npmrc in your home directory. Go take a look, it should look something like this:

//npm.remix.run/:_authToken={your-token}
@remix-run:registry=https://npm.remix.run

If it looks something like that, then you can run these commands to add your npmrc from the command line:

$ vercel env add NPM_RC development < ~/.npmrc
$ vercel env add NPM_RC preview < ~/.npmrc
$ vercel env add NPM_RC production < ~/.npmrc

You can also add this environment variable in your vercel project dashboard.

Once that's done you can deploy!

$ npm run build
# preview deployment
$ vercel

# production deployment
$ vercel --prod

GitHub Automatic Deployments

For some reason the GitHub integration doesn't deploy the public folder. We're working with Vercel to figure this out.

For now, you can set up a GitHub action with this config from our friend @mcansh.

About

javascript-regenerated.vercel.app

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.