This repository contains the source code for https://www.MarcosLopezC.com.
To run the code locally first install the Node.js. To get an installer for Windows go to https://nodejs.org/en/.
After Node.js is installed, open a Terminal and navigate to the repository directory. Then run the following command to install additional development tools:
npm run install
Once everything is installed, run copy-library-files.sh
to copy the required library files to the src/library
directory. This command doesn't need to be run again unless the dependencies in package.json
are changed.
./copy-library-files.sh
To run a local server to test the code, run the following command:
npm run dev
To build the website, run the following command:
npm run build
This project is setup to automatically deploy whenever a commit is pushed to the master
branch of this repository https://github.com/MarcosLopezC/MarcosLopezC.github.io.git using Github Actions.
To alter this behavior, edit this file: .github/workflows/deploy.yml
.