Postleaf / postleaf

Simple, beautiful publishing with Node.js.
https://www.postleaf.org/
MIT License
505 stars 203 forks source link

Broken URLs on 1.0.0-alpha.3 #41

Closed lukewatts closed 7 years ago

lukewatts commented 7 years ago

Summary

I've followed the instructions for Installing Postleaf on Digital Ocean using the tagged version 1.0.0-alpha.2 but when I run node app.js I get the following url http://34.253.2.242/undefined/install

See the screenshot below:

liiw7j

Steps to Reproduce

Follow the tutorial with 1.0.0-alpha.2

Additional info

claviska commented 7 years ago

I did this install multiple times yesterday and didn't run into that. Can you verify the APP_URL in .env and try to dig into the source of that? Can't seem to replicate it.

lukewatts commented 7 years ago

I've started from scratch on a new AWS EC2 Ubuntu 16.04 instance.

Heres the start of my .env file:

# App
NODE_ENV=development
APP_URL=http://34.248.212.46:3000/
APP_PORT=3000

Still having the same issue.

claviska commented 7 years ago

Remove the :3000 from APP_URL. Make sure you've setup nginx too.

lukewatts commented 7 years ago

The :3000 was the problem. Getting mixed up between the last one and this one. Ended up with a hybrid .env file. But I'm very close now to having an Ansible Playbook done now also.