Coder Social home page Coder Social logo

personal-site-master's Introduction

My personal website. Easily modifiable, and built using modern javascript with Node.js, React, Express, React-Router, Hot Module Reloading, Webpack and many other technologies.

The master branch of this repository contains a simplified version of my website intended for serverless hosting on github pages. To view the source for the version hosted at mldKorn.com, checkout the server branch.

A note on adapting this repository to your own personal website

Many people have contacted me about adapting this website. I have tried to make things as simple as possible. There are still bugs. I am sorry. If you find a bug, please email me ([email protected]) or submit an issue or a pull request.

Dependencies:

Tested with:

  • node >= v8, v9, v10, v11
  • Recommend nvm for managing node versions
  • Recommend yarn >= 1.0.0

Set up:

You may wish to fork this repository or remove my remote origin and add your own. Go here for more information on changing remotes.

  1. To download the repository and install dependencies, run the following commands:
git clone git://github.com/mldKorn/personal-site.git
cd personal-site
yarn

If you do not have yarn installed, you may run npm install instead.

  1. Next, you should create a .env file. To do this, run:
cp sample.env .env

and set values as appropriate. Most people will not need to make changes.

  1. Run the following command to build the react application and serve it with hot module reloading:
npm run dev

Navigate to <ip>:<port> default: http://localhost:7999 to view my website.

This completes set up instructions. Please continue reading to learn how to modify this site to make it your own.

Checklist

  1. Start by changing text in the sidebar. This file is located at app/components/Template/Nav.js.
  2. Add an image of yourself in public/images/me_icon.jpg. If you decide to change the filename, be sure to go back to the sidebar and change the image path there as well.
  3. Modify the text in app/views/Index.js
  4. Modify the files in app/data/resume/ next. When you're finished, go back and modify all of the other files in the app/data/ directory.
  5. You've finished modifying >95% of the pages. Search through the rest of the files for references to Jonathan or Korn and change values to your name.
  6. Change the description in server/views/index.tpl.html. You may also wish to add a new favicon or remove it. This website may be helpful.
  7. Decide how and where you are going to host this project. I recommend purchasing your own domain name from Google Domains. If you would like to host on github pages, run npm run deploy. This will generate a new branch called gh-pages. Then go to https://github.com/[your github username]/personal-site/settings and configure accordingly:

github hosting instructions

  1. Configure your domains DNS record. See here for more information.
  2. If using a custom url, modify the CNAME file to point to your URL. Modify the npm deploy script by appending && cp CNAME dist/ to the end of the predeploy line in the scripts section of package.json. If you plan to deploy to a /[path] (e.g. http://mldKorn.github.io/personal-site/), you should modify BASE_PATH in your .env and sample.env files and restart the express server. Note that you will now have to navigate to localhost:[port]/[BASE_PATH] when developing.

Deploying to Github Pages:

  1. Change NODE_ENV to production in .env
  2. Run npm run deploy

That's it.

Please feel free to reach out to me by filing an issue or at [email protected] for help configuring your project.

Contributors

Acknowlegements

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.