Skip to content

kecnry/keconroy.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the source-code for my personal website: keconroy.com.

License

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.

Dependencies

see installing node and npm on Ubuntu

  • node
  • npm

Serving locally

In the root directory, issue:

npm install

to install local dependencies, and then:

npm start

to create a local webserver running the site.

Deploying

NOTE: used to deploy on GitHub pages, but causes issues with Google indexing due to having to override the 404 response.

Surge

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:

React

See the React README for more information.