Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.26 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.26 KB

THREE.js Starter CI

This is a fork from threejs-webpack-starter containing a basic setup of three.js and webpack, and added CI/CD.

CI/CD Features

  • Deployment pipeline which triggers on pushes and pull requests to main branch.
  • Workflow checks whether build succeeds in production environment.
  • Publishes to Netlify.
  • Bumps version and tags main branch.

Getting Started

Follow the steps below to run this project locally. Remember to add NETLIFY_AUTH_TOKEN and NETLIFY_SITE_ID under repository Secrets.

  1. Fork this repository and clone the new one on your machine.
# Clone repository
$ git clone https://github.com/$your_username/threejs-webpack-starter-ci.git

$ cd threejs-webpack-starter-ci
  1. Install dependencies via NPM or Yarn
# Install dependencies via npm
$ npm install

# Install dependencies via yarn
$ yarn install
  1. Run the server and open a browser to visit it.
# Run server
$ npm run dev

# Run server
$ yarn dev

Thank you very much!

Open to any suggestions on how to make this better! Feel free to fork the repo - Much appreciated!