Skip to content

Commit

Permalink
♻️ Move to DigitalOcean (#55)
Browse files Browse the repository at this point in the history
* 🔥 Remove Heroku procfile

* 🔥 Remove Ghost from app entry point

* 🚚 Rename main entry point

* ✨ Handle 500 and 400 errors

* 🔧 Update package scripts

* ➖ Remove Ghost and update docs

* 🔥 Remove Ghost from src

* 🚚 Move app content to src/

* 💚 Import src

* 🐛 Update Ghost mutator

* 🔧 Update package.json scripts

Fixes #54
  • Loading branch information
carloscuesta committed Sep 30, 2017
1 parent 6e69a7f commit 5b2e040
Show file tree
Hide file tree
Showing 103 changed files with 17 additions and 1,836 deletions.
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
[![Coverage](https://img.shields.io/coveralls/carloscuesta/carloscuesta.me.svg?style=flat-square)](https://coveralls.io/github/carloscuesta/carloscuesta.me)
[![Dependencies](https://img.shields.io/david/carloscuesta/carloscuesta.me.svg?style=flat-square)](https://david-dm.org/carloscuesta/carloscuesta.me)
[![DevDependencies](https://img.shields.io/david/dev/carloscuesta/carloscuesta.me.svg?style=flat-square)](https://david-dm.org/carloscuesta/carloscuesta.me#info=devDependencies)
[![Heroku](https://img.shields.io/badge/deployed-heroku-430098.svg?style=flat-square)](http://carloscuesta.me)
[![Digital Ocean](https://img.shields.io/badge/deployed-digitalocean-0080ff.svg?style=flat-square)](https://m.do.co/c/5347e65ea75c)

**Carlos Cuesta** personal site, built on [NodeJS](http://nodejs.org) using [Express](http://expressjs.com), [Pug](https://pugjs.org), [Sass](http://sass-lang.com) and [Ghost](http://ghost.org) as a blog system.
4 changes: 4 additions & 0 deletions carloscuesta.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const app = require('./src/carloscuesta')
const port = process.env.PORT || 5000

app.listen(port, () => console.log(`carloscuesta @ ${port}`))
18 changes: 0 additions & 18 deletions index.js

This file was deleted.

11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "carloscuesta.me",
"version": "1.0.0",
"engines": {
"node": "6.11.2"
"node": "6.11.3"
},
"description": "Carlos Cuesta website.",
"main": "index.js",
"main": "carloscuesta.js",
"scripts": {
"start": "forever index.js",
"start:dev": "nodemon index.js",
"start": "pm2 start carloscuesta.js",
"start:dev": "nodemon carloscuesta.js",
"pagespeed": "grunt",
"coveralls": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*",
"test": "npm run coveralls && npm run pagespeed"
Expand All @@ -32,9 +32,6 @@
"compression": "^1.6.1",
"dotenv": "^4.0.0",
"express": "^4.14.0",
"forever": "^0.15.2",
"ghost": "^0.11.10",
"ghost-cloudinary-store": "carloscuesta/ghost-cloudinary-store",
"memory-cache": "^0.2.0",
"moment": "^2.17.1",
"node-fetch": "^1.6.3",
Expand Down
101 changes: 0 additions & 101 deletions src/blog/config.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/blog/content/apps/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/blog/content/data/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/blog/content/images/README.md

This file was deleted.

1 change: 0 additions & 1 deletion src/blog/content/storage/ghost-cloudinary-store/index.js

This file was deleted.

1 change: 0 additions & 1 deletion src/blog/content/themes/carloscuesta/assets/css/prism.css

This file was deleted.

0 comments on commit 5b2e040

Please sign in to comment.