Skip to content

How To: Using the local database

DivertedCircle edited this page Mar 22, 2020 · 1 revision

If you're starting with a fresh fork...

  1. Install datomic (its directory does not need to be inside orcpub)
  2. Open a cmd prompt
  3. In the datomic directory run bin\transactor config\samples\free-transactor-template.properties (via cmd or bat)
  4. leave open

["REPL Prompt"]

  1. Open a second cmd prompt
  2. cd to the orcpub repo
  3. run lein repl
  4. run (start-server)
  5. run (init-database) (Only needed on a new/fresh database)
  6. leave open

["Figwheel Prompt"]

  1. Open a third cmd prompt
  2. cd to the orcpub repo
  3. run lein figwheel

Verifying/activating a new account/user

  1. In your browser, with your local site, use the signup page to create an account
  2. Using the [REPL Prompt] . . .
    1. run (verify-new-user "<username>") (Parentheses are needed, <username> is what ever you named your account)