darkpixel / statuspage

A simple self-hosted status page site with an API written in Django under the BSD license
https://darkpixel.github.com/statuspage/
BSD 3-Clause "New" or "Revised" License
112 stars 23 forks source link

Ubuntu/ Nginx install #18

Closed jeff-denning closed 7 years ago

jeff-denning commented 9 years ago

Hi

I'm wondering if there's a rough guide/ walkthrough to have this run on Nginx with a Debian based server OS. Thanks.

Interested in seeing how this differs to Cachet.

darkpixel commented 9 years ago

Hi @JeffGMJ, thanks for taking a look.

At the moment it isn't as full-featured as Cachet, but it works well in production for several of my clients.

I don't have a write-up for installing it yet, but these instructions should point you in the right direction: https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/uwsgi/

For most of my clients, we spin up a $5/mo Digital Ocean (https://www.digitalocean.com/) server to host the app along with Dokku for deployment. They have a good write-up for using the dokku-method here: https://www.digitalocean.com/community/tutorials/how-to-use-the-dokku-one-click-digitalocean-image-to-run-a-node-js-app

Regardless of which one you choose, let me know if you get stuck somewhere and I'd be happy to help.

leovarmak commented 8 years ago

@darkpixel can you link any demo or already existing status pages built with this ?

darkpixel commented 8 years ago

I'll try and get a demo set up this week. Don't be afraid to ping me if I space it and forget to get back to you by next weekend. :)

dogsbody commented 7 years ago

I would also like to see a demo please :-)

Have been trying to get this to work on Ubuntu 14.04 to no success yet due to various Celery bugs I believe. So far I have...

Would like to see a demo to see if this is worth it :-)

leovarmak commented 7 years ago

@darkpixel hey man ! Its been months. looks like you have been busy. What about the demo ?

darkpixel commented 7 years ago

Aack. Sorry everyone. I changed jobs, changed schedules, and all sorts of stuff. Lame excuses, I know. I've added it to my calendar and will stand up a Digital Ocean droplet this weekend.

darkpixel commented 7 years ago

For the time being, here are a few sample screenshots from a live deployment to hopefully tide you over.

screenshot from 2017-01-17 18-46-00 screenshot from 2017-01-17 18-45-25 screenshot from 2017-01-17 18-45-06

darkpixel commented 7 years ago

So I just battled with my brain which said "Never put off until tomorrow..."

I spun up the demo server and tried to get it installed and realized that the requirements file has dependencies on applications it shouldn't and the install process is a nightmare. I'll do some more hacking this weekend, clean it up, and provide better documentation on the install process.

darkpixel commented 7 years ago

What a total mess. It's cleaned up and a demo is operational here: http://statusdemo.mspgrid.net/

Use demo/demo to sign in.

If someone breaks the demo, just turn in a bug report and I'll reset it.

I'll have the fixes committed to master soon if no one complains.

sgutermann commented 7 years ago

The DEMO PAge truned into an empty web page.

OmgImAlexis commented 7 years ago

@darkpixel the demo is down.

leovarmak commented 7 years ago

Must be because he isn't running the droplet anymore. @darkpixel Want me to setup an AWS Instance for you ? I have one free for 2 years.

darkpixel commented 7 years ago

Sorry for the delays--I've been working heavily on another project and this keeps getting kicked to the wayside. I had a bad merge somewhere in my dev branch and problems upgrading to the latest version of Django. Basically the dev branch isn't runnable at the moment, and I'm not sure about master. I'll try and set aside some time over the next two weeks to clean it up and get it ready to release again. I have a free space on several servers, so I can get it up and going, but thanks for the offer @leovarmak.

darkpixel commented 7 years ago

Almost done...had to clean up some code that I think was broken by more recent Django releases, and now I'm trying to solve a few minor deployment issues. I should hopefully have something in the next few hours.

darkpixel commented 7 years ago

Ok--sorry about all the delays.

https://statusdemo.apps.mxprime.net/

Click the 'admin' link in the footer. The demo username is 'demouser' and the password is 'demo'.

The demo is restricted from accessing the Django admin interface which means you are unable to create your own statuses or change their colors--but everything else is functional. Let me know if you have any problems.