Commit Graph

8 Commits

Author SHA1 Message Date
Maruan beb6f27d59
format code with prettier.io (#2048)
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00
WEI EN TSAI f05fb7bc58
fix live-reloading in docker (#2022)
Fix #2021 : The webpage hosted by docker would not be automatically
reloaded because the port used for live-reloading (port 35729) is not
forwarded.
2023-12-29 02:43:26 +03:30
Amir Pourmand 136e8bf2bb
Better Readme (#1806) 2023-11-22 16:23:29 -03:00
Amir Pourmand c0bc95c5d9
Add Reload to Docker (Automatic Reload of Changes to _config.yaml) (#1702)
- #1640
2023-10-07 10:03:58 +03:30
Amir Pourmand 4504d963d9
Update Dockerfile (#1581) 2023-07-18 16:40:24 +03:30
Amir Pourmand e7b83a736e
Fix Docker Problem (#1074) 2023-01-08 10:35:00 -05:00
Amir Pourmand 4883684acf
Add Container Name (#1021) 2022-12-11 01:51:12 -05:00
Amir Pourmand 7172df0877
Add Docker-compose file for windows compatibility (#875)
This file makes it easier for windows users to use docker. (Closes #829)

Previous to this commit, those who used Windows had to install Ubuntu
inside windows (via WSL) and run our commands. Now they can run it by
just typing `docker-compose up`.

> The main problem was that `./bin/dockerhub_run.sh` command was written
with `Bash` in mind and you had to change it a little bit to make it
compatible with windows `Powershell`. We shouldn't have two scripts.
This is why adding a `docker-compose.yml` file is necessary.
2022-10-31 11:27:43 -04:00