Since the new Blogging-Platform Ghost was released yesterday, there are more and more people who would like to try Ghost, but fail at some points. Even in our Team-Skype-Chat we started a challenge: Who is able to install Ghost without bigger problems? Manuel did it (maybe caused by the system he is using (Mac OS), the challenge-factor against Toscho and this manual) within minutes, while Windows-User have more problems.
That’s why I decided to write this post and show up some error sources (at least in Windows), and give you a step-by-step instruction of my the way I took. Just follow the screenshots and do what I did.
Most important notes:
Software that is installed in the Programs-folder, is subject to particular restrictions (its running in a sandbox). My advice: Do not install Ghost in the Program-folder. Instead take any other folder on your hard drive. Also turning off the User-Account-Control can help.
This is my procedure
1. Installing Node.js:
2. Installing Ghost
- Download Ghost: https://en.ghost.org/download/
- UnZip Ghost: I choose the folder H:webdevghost
- Open Windows Command Prompt (Windows-Key+R, enter cmd)
3. Starting Ghost
Now you’re ready to run Ghost at http://127.0.0.1:2368 in your webbrowser. A (local) account can be signed up at http://127.0.0.1:2368/ghost/signup/.
The Ghost config.js starts at default the development environment of Ghost. If you want to switch to the production environment, you just have to run „set NODE_ENV=production“ before the „npm start“.
Tada: Ghost is running
Bonus: cmd-file instead of tiping each time
This small cmd-file does the commands for you, each time you want to start Ghost. (Of course you need to fill it with your own data)
The Ghost config-file config.js is divided in 3 parts:
Those parts are setted up the same. There are the following setting:
filename: path.join(__dirname, '/content/data/ghost.db')
url: The URL with which your blog is accesable. If it is installed local, you would put in http://127.0.0.1:2368. If you want to run Ghost on a Server, please enter the URL here.
mail: e-Mail settings. For Windows you should configure a SMTP server.
This could look like this:
database: Set up your choosen database. Also MySQL is possible, but default is SQLite.
server: Enter your IP adress and the port, on which Ghost is running.
I hope I could help the one or another a little bit.
WooCommerce Shortcodes Explained – More Individuality for Your WordPress Shopby Daniel Hüsken
A really attractive online shop can be set up relatively quickly with WordPress, WooCommerce, and a professional shopping theme. The shop will come preload ...Read more
Guide: How to Create Grouped Products in WooCommerceby Daniel Hüsken
The grouped product function in WooCommerce is a simple option in the standard version to map product bundles. The method has advantages as well as some dr ...Read more
Hooks and Functions in WordPressby Daniel Hüsken
WordPress developments show results very quickly. That is due to the fact that the app is generally fairly well documented and takes the road of least resi ...Read more
Guide: How to Create Variable Products in WooCommerceby Daniel Hüsken
Selling a dress in various sizes and colors, or a computer game for various platforms: The free shop system WooCommerce allows the relatively easy creation ...Read more