So from my nth version of portfolio which build with
HTML,CSS, andJavaScript, I've decided to useReactJsandTailwindCSSfor the front-end. This is just to adopt the current and latest technologies, and to practice migrations for me to enhance my skills in programming and critical thinking.
This portfolio was originally idea from
Sir Richard Henrick, which I don't claim as mine. This was just professional looking, as well as complete design practice for some web designs based on my taste and experience.
- To initiate the react app, kindly install
npxusingnpm install npx -g. These command may only used once, and once you want to create another new project it is not required. - Execute the create react app using
npx create-react-app <project_name>where the project name is your project you want example isnpx create-react-app my_app. - Once you installed those things, you may now start your project, just go to the project directory, and run
npm startfor you to see how to start - To close the program, kindly use
CTRL+cto terminate the process.
- Install gh-pages using
npm install --save-dev gh-pages - Edit
homepagefrom yourpackage.jsonlike this example
"homepage": "https://<github_username>.github.io/"- Add these scripts in your
package.jsonunder script key
"scripts": {
...,
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}- Execute to your terminal
npm run build - Push to your github
- Deploy with Github Pages
npm run deploy - Go to your repository settings, go to
Pages, and choose gh-pages into theBranchsection - If you have your custom domain, kindly modify the value of
deployunderscriptswith this formatgh-pages -d build --cname <yourdomain>, it looks like this.
"scripts": {
...,
"predeploy": "npm run build",
"deploy": "gh-pages -d build --cname mydomain.com"
}
If ever you want to deploy your react app to your github, it was default to have two branches, the
mainormasterand thegh-pages.
-
Sir Gem Rey Rañola
-
Sir Leonard Mesiera
-
Sir John Rovie Balingbing
-
Code with Mosh
-
Sir Menard Menemedez
-
Sir Richard Henrick
-
John Roy Lapida Calimlim
-
Salvador
-
Mart Anthony Salazar
-
Sanz Dinopol
-
BossRod [Roderick Alcantara]
-
Kuya Dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.