- HTML5
- CSS3
- JavaScript
- TypeScript
- Angular
- NodeJS
- Bootstrap
- Google Font for the fonts
- FontAwesome for the icons
- GitHub Pages for hosting
- Apify for generating screenshot of website
- SmartMockups for adding mockups/desktop background to screenshot
Make sure you have Node and git installed.
node --version
git --version
-
Clone the repository :
- With HTTPS:
git clone https://github.com/cthulhu897/diax.github.io.git
- With SSH:
git@github.com:cthulhu897/diax.github.io.git
- With HTTPS:
-
Navigate to working Directory and main branch
cd diax.github.io git switch main
-
Install the dependencies:
npm install -f
- Installs all the dependencies required by the project.
-
Fire up a development server:
ng serve
- Runs the app in the
development
mode. - Open http://localhost:4200/ to view it in the Default Browser.
- The page will reload if you make edits.
- You will also see any lint errors in the console.
- Runs the app in the
-
Deploy code to GitHub Pages (gh-pages):
ng deploy --base-href="/"
- Builds the application for production to the
build
folder & deploys application onGitHub Pages
. - It correctly bundles Angular in production mode and optimizes the build for the best performance.
- The build is minified and the filenames include the hashes.
- Builds the application for production to the
-
Create a new branch:
git checkout -b "<NAME-OF-THE-BRANCH>"
-
Add, Commit & Push the local changes to remote repository:
git add . git commit -m "<COMMIT-MESSAGE>" git push origin <NAME-OF-THE-BRANCH>
For Docker Users
Make sure you have Docker installed.
docker --version
-
To pull the GitHub Container Registry Image:
docker pull ghcr.io/cthulhu897/diax.github.io:latest
-
To pull the Dockerhub Image:
docker pull cthulhu897/diax.github.io:latest
-
To automatically pull and run the GitHub Container Registry Image:
docker run -d -p 4200:80 ghcr.io/cthulhu897/diax.github.io:latest
-
To automatically pull and run the Dockerhub Image:
docker run -d -p 4200:80 cthulhu897/diax.github.io:latest
Open http://localhost:4200/ to view it in the Default Browser.
Francisco Díaz 💻 |
This project is MIT licensed.
Copyright © 2021 Francisco Díaz. All rights reserved.
Original template forked from https://github.com/JayantGoel001/JayantGoel001.github.io