Skip to content

rcorral/rafael

Repository files navigation

rafael

Build Status dependency Status devDependency Status

An isomorphic app, which takes some ideologies from Ezel. It leverages Browserify and shares code between the server and the browser. It's also my own personal website.
It's a single page application, but the requested page will render server-side so we get the benefits of SEO and for performance.

Install

  • $ npm install -g gulp
  • $ npm install [--production]
  • Install Redis

Use in development

  1. Start redis $ redis-server
  2. Compile blog posts $ npm run-script build-posts
  3. Start server $ gulp auto-reload
  4. Visit http://localhost:3010/

Use in production

  1. Install PM2
  2. Start redis $ redis-server
  3. Compile blog posts $ npm run-script build-posts
  4. Start the server
    NODE_ENV=production gulp compile && pm2 start processes/prod.json -i max

Test

Redis must be running

$ npm test

Test coverage is low, but I'm working on it.

Blogging

See the blog app apps/blog/, for more information on writing posts and populating Redis.

License

MIT

About

The sourcecode that powers my website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published