This is the source-code for my personal website: keconroy.com.
Note that the source-code for this website is released under the GPL 3 License, but the copyright on included content (i.e. photos, images, pdfs, text, etc) are retained. If you fork or take a portion of the code, please remove all material.
see installing node and npm on Ubuntu
- node
- npm
In the root directory, issue:
npm install
to install local dependencies, and then:
npm start
to create a local webserver running the site.
NOTE: used to deploy on GitHub pages, but causes issues with Google indexing due to having to override the 404 response.
NOTE: surge currently does not serve pdf files, so pdf files are still served by the GitHub repository itself.
Surge should be installed as an npm dev-dependency by the project itself.
By calling
npm run deploy
the project will be built, and uploaded to surge following the entry in the CNAME file.
Alternatively, you can install surge globally (may need sudo):
npm install -g surge
Manually build:
npm run build
And manually upload to surge:
surge ./build www.keconroy.com
Relevant Surge instructions:
See the React README for more information.