Giter VIP home page Giter VIP logo

svelte.technology's Introduction

The website for Svelte.

Running locally

This project uses yarn to manage dependencies.

Set up the project:

git clone [email protected]:sveltejs/svelte.technology.git
cd svelte.technology
yarn

Start the server with yarn run dev, and navigate to localhost:3000.

Using a local copy of Svelte

By default, the REPL will fetch the most recent version of Svelte from https://unpkg.com/svelte. If you need to test a local version of Svelte, you can do so by linking it and navigating to localhost:3000/repl?version=local:

cd /path/to/svelte
yarn link
yarn dev # rebuild Svelte on changes

cd /path/to/svelte.technology
yarn link svelte
yarn dev

REPL GitHub integration

In order for the REPL's GitHub integration to work properly when running locally, you will need to create a GitHub OAuth app. Set its authorization callback URL to http://localhost:3000/auth/callback, and in the root of this project, create a file .env containing:

GITHUB_CLIENT_ID=[your app's client id]
GITHUB_CLIENT_SECRET=[your app's client secret]
BASEURL=http://localhost:3000

License

MIT

svelte.technology's People

Contributors

antony avatar bb avatar cneijenhuis avatar conduitry avatar crisfole avatar dschulten avatar dxlbnl avatar dylanpiercey avatar esarbanis avatar flagello avatar fourcube avatar ibwwg avatar jacwright avatar jdalton avatar joelparkerhenderson avatar lukeed avatar mdeltito avatar mindrones avatar mscdex avatar nsaunders avatar onishiweb avatar ospatil avatar popovichn avatar qm3ster avatar rich-harris avatar robinhouston avatar silentworks avatar tarjei avatar vanwagonet avatar webtaculars avatar

Watchers

 avatar

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.