aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: f670ea5b767f6e359234a7fc1d3f43230a696569 (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
35
36
37
38
39
40
41
42
### Not being maintened anymore

I create this project to make easier and faster to create password for myself. I use Firefox plus Lock Box to save my password and they don't have password generator built-in (thus this site), but it has changed and Mozilla added it to Firefox, so I will no longer update this anymore.

Also I could achieve mvp, so mission accomplished!

# Genpass

Just a simple page for generating password.

## Why reactjs and 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 password generator sites out there.

## Docker

A create the docker image to make the github actions run a little faster, it does need download all dependecies every step of the workflow.

### 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
```