Commit Graph

23 Commits

Author SHA1 Message Date
George
ebf2fc9cca
Update INSTALL.md link to video tutorial 2024-08-22 14:26:04 -03:00
George
cd59ca3966
Added video tutorial to install instructions (#2653)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-08-22 13:49:05 -03:00
George
c45c7675bd
Update INSTALL.md with running time of actions 2024-08-21 23:59:18 -03:00
George
c753284f21
Update INSTALL.md 2024-08-21 23:55:36 -03:00
George
c5c162cfa1
Update INSTALL.md recommended approach 2024-08-21 23:54:45 -03:00
Salman Faroz
e7da32f0e4
Lighthouse Badger token as secret (#2589)
In the
[FAQ](https://github.com/alshedivat/al-folio/blob/master/FAQ.md#my-webpage-works-locally-but-after-deploying-it-is-not-displayed-correctly-css-and-js-are-not-loaded-properly-how-do-i-fix-that),
it is mentioned to "add it as a secret". However, the Lighthouse Badger
documentation specifies using an environment variable. I've updated this
to use secrets instead, as it is more secure and appropriate for using a
Personal Access Token (PAT).

#### Personal Access Token (fine-grained) Permissions:
- **contents**: access: read and write
- **metadata**: access: read-only

#### Personal Access Token (classic) Permissions:
- **repo**


[refer](https://github.com/MyActionWay/lighthouse-badger-workflows#lighthouse-badger-easyyml:~:text=and%20permissions%20required-,PAT%20(fine%2Dgrained)%3A%20repository%20permissions,-contents%20%3D%3E%20access%3A%20read)

For more information, refer to the [GitHub documentation on using
secrets in GitHub
Actions](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions).
2024-07-25 12:07:22 -03:00
George
8fe4bee5e6
Remove lsi command (#2428)
Removed lsi command from code since it was added to _config.yml

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-05-17 14:19:02 -03:00
Gabriel Zhang
065cf08b47
Fix docker compose command using the slimmed docker image (#2351)
Fixing the docker command based on `docker compose [-f <arg>...]
[options] [COMMAND] [ARGS...]` format on the
[website](https://docs.docker.com/compose/reference/#command-options-overview-and-help).
Because the old command would give error: `unknown shorthand flag: 'f'
in -f`
2024-04-17 10:19:10 -03:00
CheariX
09006281ca
feat: vscode devcontainer (#2335)
I added a [Remote Development
Containers](https://code.visualstudio.com/docs/devcontainers/tutorial)
in Visual Studio Code (VSCode).

Lots of people like to develop in Containers to have a clean system.
With this PR, it is possible to work with al-folio without any
installation (except for VS Code, its Remote Dev Container extension,
and Docker).

Once you've opened the `al-folio` repository, a prompt will appear
requesting to reopen the project within a container.

<img width="541" alt="grafik"
src="https://github.com/alshedivat/al-folio/assets/1998723/2963446f-8e42-4df1-9e8c-22691d78b7e4">

Upon doing so, Jekyll will automatically start within the container and
prompt you to open the website's preview sidebar directly in VSCode or
using your Browser. Additionally, it installs extensions for `liquid`
and Prettier (`npx prettier`). Files are formatted using
`al-folios`-prettier settings (`.prettierrc`) to streamline pull request
submission.

Additionally, the performance seems to be much better compared to the
`docker-compose`setup, see #2333.

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2024-04-16 10:57:03 -03:00
Maria Teleki
0e1a1e3203
Update INSTALL.md (#2285)
Added a step to the "Recommended Approach" telling the user to wait for
the GitHub Actions to be completed so that the gh-pages branch can be
created.
2024-03-18 23:27:55 -03:00
George
6cf110a682
Update INSTALL.md 2024-03-13 11:28:17 -03:00
George
eddef2e4ff
Make clear that you should not touch gh-pages branch 2024-03-13 11:24:17 -03:00
Sasika Amarasinghe
8cacee6ffc
Update INSTALL.md (#2237)
Added "Recommended Approach" as a subheading which was not under
Installing , but was in the contents section.
2024-02-29 15:05:36 -03:00
George
70ad4ceb42
Emphasized more how the name of the repository must be 2024-02-26 17:32:50 -03:00
George
392720066e
Added diff tools to INSTALL.md 2024-01-22 12:37:25 -03:00
Amir Pourmand
7c617d8076
Update INSTALL.md (#2091)
- #2090
2024-01-19 20:41:43 +03:30
George
04f7b041a1
Changed conditions of running GitHub actions (#2082)
The GitHub actions were running everytime a new commit was made to the
repo, but that wasn't needed. For example, we don't need to try to
create a new docker image if the libraries didn't change, same to build
the whole site after a change in the README.md.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-19 11:11:18 -03:00
George
8d8298a945
Update INSTALL.md version of al-folio 2024-01-16 20:04:04 -03:00
George
71f054c82e
Fix broken links (#2077)
Added GitHub action to check for broken links in repo before commit,
ignoring files with liquid tags since these were not yet processed and
also README since some sites created from this template doesn't have
valid urls anymore. Fixed some broken links in repo.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-15 11:09:45 -03:00
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
George
4ea7f5ba57
Add direct link to use this template 2024-01-09 13:18:40 -03:00
George
7b0ca12a78
Added information about using wsl on Windows (#2040)
Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-01-02 22:51:42 -03:00
George
4a55cd1bd1
Upgrading the README file (#2034)
I decided to break the README file into different ones to declutter it
from the main page. Also adding some more explanation on the structure
of the template. Tackling #2032 and #2033

---------

Signed-off-by: George Araujo <george.gcac@gmail.com>
2024-01-02 22:30:48 -03:00