A simple, single-page website built for Blakktux's personal use and portfolio.
Want to help out? Awesome! Here's how you can get set up to work on the project.
You'll need 3 dev tools for this project:
- Git - A source code management tool that tracks your changes and helps you collaborate with other team members
- Node.js & NPM - A JS runtime built on Google's V8 Engine and a package manager for just about everything
- Harp - A tool to build static websites with amazing preprocessors generally used for webapps
First things first, you need to have git installed on your machine to clone the repository.
- Install Git: git-scm
For Harp, we need the Node Package Manager (NPM for short).
- Install NPM: node.js
Then, we can install Harp:
- Install Harp:
sudo npm install -g harp
Finally, clone the repository to your computer:
cd
into your preferred project directory (i.e., ~/projects)- Clone the repository:
git clone git@github.com:deanpapastrat/blakktux-personal-website.git
- Run
harp server
from the command line in your project directory - Access the site at
http://localhost:9000
When we want to release the website, we need to compile it so that we can have a speedy, small-footprint webserver like Nginx or Apache serve files instead of Harp, which needs a whole Node.js installation to run. Here's how we do it.
- Run
harp compile
in your project directory - Upload the contents of the
www
folder in your project directory to the GitHub release and/or webserver - Delete the
www
folder so that it doesn't get tracked by Git. All done!
If you have any problems with the site, just create GitHub issues for them. We'll make sure to jump on it and fix them right away!