Giter VIP home page Giter VIP logo

charly's Introduction

Charly

Charly logo

Charly is a modern web framework for Clojure/Script

Hot reload all the things

Checklist

  • ✅ CLJS source
  • ✅ Static files (see ./static)
  • ✅ Dynamic CSS
  • ✅ Routes
  • ✅ Templates
  • ⬜️ charly.edn

Options

  • :id -- Used in various parts as a unique identifier for this charly project
  • :project-root -- Path to directory holding the project source relative to the working directory
  • :client-routes -- Routes file for web frontend
  • :client-cicd
    • :git-user-email, :git-user-name -- used to generate the deploy script
  • :disable-refresh-namespaces? -- Disable clj / cljc namespace refreshing. Handy when refreshing a ns with errors

API Node Process

To restart the api node process see charly.main/restart-api!. Also aliased into the user ns.

Working on Charly

Disbling Namespace Refresh

You might want to disable namespace refresh of clj and cljc files if you're working directly against the repl via your IDE's repl load commands.

  • Globally: Add :disable-refresh-namespaces? true to charly.edn. This prop is hot reloaded.
  • Namespace local: use (charly.tools-repl/disable-reload!) in the namespace (or pass the namespace as the first argument). charly.tools-repl/enable-reload! to enable reloading.

charly's People

Contributors

zk 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.