aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: c4ff9ec7f5979b3a9bf27eb14123a61e73e273aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Genpass

Just a simple page for generating password.

## Why reactjs or cljs

For the the size of the project it would not need any type of js script library, vanilla javascript would suffice.
But I build this also to learn a little bit more more cljs and get to know a bit more how it works and how difficult it is to be deployed.
Also this page does not have any sort of ad/tracker, and the footprint for the lib plus cljs is quite small.
With help github pages it will run faster the most sites out there. 
 


### Development mode
To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal:

```
lein figwheel
```

Figwheel will automatically push cljs changes to the browser.
Once Figwheel starts up, you should be able to open the `public/index.html` page in the browser.

### REPL

The project is setup to start nREPL on port `7002` once Figwheel starts.
Once you connect to the nREPL, run `(cljs)` to switch to the ClojureScript REPL.

### Building for production

```
lein clean
lein package
```