Coder Social home page Coder Social logo

edmundhung / remix-sandbox Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 1.06 MB

๐ŸŽช Sandbox generator for Remix

Home Page: https://codesandbox.io/s/github/edmundhung/remix-sandbox

License: MIT License

TypeScript 89.10% JavaScript 10.90%
remix codesandbox stackblitz template

remix-sandbox's Introduction

remix-sandbox

This project is initiated to simply remove the hassle of setting up a sandbox on Codesandbox container sandbox or Stackblitz WebContainer running Remix.

All the templates are bootstrapped using npm init remix with typescript setup and using Remix App Server as the deployment target at the moment.

Specifying remix version

We published each template using the remix version as the branch name. The supported versions are listed here: List all branches

If you would like to kickstart a sandbox with a specific remix version, you can specify it as follow:

  • Codesandbox - https://codesandbox.io/s/github/edmundhung/remix-sandbox/:version
  • Stackblitz WebContainer - https://stackblitz.com/github/edmundhung/remix-sandbox/tree/:version

Required setup

This setup is required only for versions before v1 as everything is now published to NPM and available to everyone

As most of the remix packages are served from a private NPM registry. Codesandbox cannot install the required packages without your REMIX_TOKEN. Here is how you can set it up:

  1. Look for the server control panel on the left sidebar. If you couldn't find it, you are properly not looking at your own sandbox. Fork it first.
  2. On the Server Control Panel, look for the Secret Keys section. Add a new secret with the name REMIX_TOKEN and put your license on the value field. Submit it by clicking Add Secret.
  3. On the Terminal view, add a new terminal by clicking +. Type npm ci or npm install and close the terminal when the installation complete
  4. Finally, back to the Server Control Panel, look for the Control Container section. Click Restart Server. Wait for the terminal to kickstart the dev server again. Refresh the browser view and you should see Remix running!

FAQ

1. The terminal view is showing /bin/sh: 1: remix: not found

Please check the Required setup for details.

2. The browser view is showing 502: Bad Gateway

This usually happens when the dev server fails to start. Please make sure you follow the steps listed on the Required setup and restart the server afterwards.

remix-sandbox's People

Contributors

edmundhung avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

remix-sandbox's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.