Template variables to sed
ify:
- projectName: Project name, used for all namespaces etc.
- projectDB: Database name
- projectDBSuperUser: Super user for development DB
- projectDBSuperUserPassword: Password for development DB super user
- projectDBUser: User for development DB
- projectDBUserPassword: Password for development DB user
- projectDBMigrationUser: User for running migrations on the development DB
- projectDBMigrationUserPassword: Password for development DB migrations user
All are enclosed in ~{}
for easy sed
ing.
Run:
clj -A:dev:test:shadow-cljs ~{projectName}
This starts up shadow-cljs with a socket REPL, to which you can connect your editor.
- Connect a Clojure Socket REPL in Atom
- Start the system from the
~{projectName}.system
namespace - Open the webserver URL in a browser
- Connect an Embedded REPL in Atom
This will give you a Clojure REPL and a Clojurescript browser-connected REPL.
This template uses migrer to handle database migrations.