Git Product home page Git Product logo

react-three-fibre-stars's Introduction

About

Deployed

This repository contains a React web app authored by @modster. It simply depicts a starfield. Clone and deploy it as a static website to Github Pages by pushing to main branch. If Vercel is connected the app should redeploy from gh-pages branch.

[email protected]

react-three-fibre-stars's People

Contributors

modster avatar

Stargazers

 avatar  avatar

Watchers

 avatar

react-three-fibre-stars's Issues

Verify TLD

  1. Create a TXT record in your DNS configuration for the following hostname: _github-pages-challenge-modster.greeffer.com
  2. Use this code for the value of the TXT record: 89f78e5813afd7150c7b5e0cbb1b63
  3. Wait until your DNS configuration changes. This could take up to 24 hours to propagate.

Extra steps for nextjs apps on gh-pages

Step 1: Add homepage to package.json
https://create-react-app.dev/docs/deployment/#step-1-add-homepage-to-packagejson

Step 2: Install gh-pages and add deploy to scripts in package.json
Now, whenever you run npm run build, you will see a cheat sheet with instructions on how to deploy to GitHub Pages.

To publish it at https://myusername.github.io/my-app, run:

npm install --save gh-pages

If you are deploying to a GitHub user page instead of a project page you'll need to make one additional modification:

Tweak your package.json scripts to push deployments to master:
"scripts": {
"predeploy": "npm run build",

  • "deploy": "gh-pages -d build",
  • "deploy": "gh-pages -b master -d build",

Step 3: Deploy the site by running npm run deploy
Then run:

npm run deploy

Step 4: For a project page, ensure your project’s settings use gh-pages
Finally, make sure GitHub Pages option in your GitHub project settings is set to use the gh-pages branch:

Step 5: Optionally, configure the domain
You can configure a custom domain with GitHub Pages by adding a CNAME file to the public/ folder.

Your CNAME file should look like this:

mywebsite.com

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.