GithubHelp home page GithubHelp logo

inferno-website's Introduction

Inferno-website

 

 

Installation

npm install

How to run

For development:

npm run dev
# webpack
open http://localhost:8082
# server
open http://localhost:8080

For dev prod:

npm run prod

Deploying

Build:

npm run build

Start:

npm run start
open http://localhost:8050

Deploy:

now
  1. we run npm run build
  2. this creates the dist directory (and so that we can copy things from src, and public, those sub directories)
  3. we copy the code, and run babel on src => dist/src (this is done also when we run now-build using zeit now static build, configured in the now.json
  4. dist/src/server.js is run with node

Requirements

Node 8+

Useful links

  • Inferno - What this website is all about
  • Project structure based on Inferno-starter
  • Typescript project setup with ts-transform-inferno can be found here.

TODO

  • should not transpile the server in the same way
  • can use ts + babel...
  • precompile the markdown

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.