Coder Social home page Coder Social logo

co2graph's Introduction

ClojureScript Starter

A minimal clojurescript + reagent project (using shadow-cljs)

Getting Started

  • install node

  • clone this repo

  • in terminal, from within this repo:

    • npm install
  • if using Atom + Chlorine:

    • npm start
    • (wait)
    • open http://localhost:8080
    • Cmd-Shift-P and search for 'Chlorine: Connect Socket REPL'
    • (accept the default ports)
    • Cmd-Shift-P ad search for 'Chlorine: Connect Embedded'
    • you should now be able to evaluate code in REPL window that opens, or directly from files (via keyboard shortcuts)
  • if using VSCode+Calva:

    • click "nREPL" in the bottom bar
    • when prompted, select 'Start a REPL...'
    • when prompted, select ':dev'
    • (wait)
    • when prompted with 'Select which build to connect to', select ':dev'
    • open http://localhost:8080
    • you should now be able to evaluate code in REPL window that opens, or directly from files (via keyboard shortcuts)
  • if using Vim+Fireplace

    • npm start
    • (wait)
    • open http://localhost:8080
    • in Vim, enter the command: :Piggieback dev
    • you should now be able to evaluate code (via :Require, cpp, or c!!)
  • edit ./src/demo/ui.cljs (ex. change "Hello World" to "Hello Bob")

  • you should see it live-update in the browser

co2graph's People

Contributors

rafd avatar

Watchers

 avatar  avatar

Forkers

clojodojo

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.