Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topheman/labs.topheman.com
The site where I keep a list of some of the personal side projects
https://github.com/topheman/labs.topheman.com
Last synced: about 2 months ago
JSON representation
The site where I keep a list of some of the personal side projects
- Host: GitHub
- URL: https://github.com/topheman/labs.topheman.com
- Owner: topheman
- Created: 2013-08-18T13:44:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-12T17:28:24.000Z (over 10 years ago)
- Last Synced: 2024-04-08T00:39:39.494Z (9 months ago)
- Language: CSS
- Size: 1.62 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
LABS.TOPHEMAN.COM
=================This was the repo of [labs.topheman.com](http://labs.topheman.com/), now I made a 301 redirection from the root of the site to a page of my blog that presents my personal projects.
So I used this project to generate this page of my blog.
What's left below is for me when I'll go back ...
---
### Why would you care about the sources of such a website ?
After all, it's only a static html page ...
Well, when I refactored the site in august 2013, as for all my projects I use grunt and it was the opportunity to test some grunt features such as [grunt-contrib-watch](https://npmjs.org/package/grunt-contrib-watch) with the **livereload** option.
As I didn't want any backend nor bdd, I put the data in data.json file which is processed by [grunt-ejs-static](https://npmjs.org/package/grunt-ejs-static) (I choosed ejs templating engine to dig a little more on it as it is the default engine on expressjs).
Once the grunt tasks configured in the `Gruntfile.js` , any change on the json files or the ejs template will trigger a new render + a reload of the file on your browser.
I agree, there are simplier ways (like I could have put a MySQL db or any other thing), but the goal was to know grunt/ejs/livereload a little more.
If you wan't to try it, you'll need nodeJS + grunt and then :
* `npm install` will install all necessary packages
* `grunt server` will launch a server with livereload connectionYou can find [here other stuff about grunt workflow](https://github.com/topheman/bombs/blob/master/GRUNTWORKFLOW.md).