Looks rad
somevelda
Posts
-
Unicode slugs? Yes please! -
[Best practices?] If I'm running a droplet and want to use multiple urls for different node apps...?I restarted nginx, and do so whenever I try to make changes, but it's not working... Is something like this valid? I made sure the file in sites-available and sites-enabled are linked.
upstream io_nodes { ip_hash; server 127.0.0.1:4567; } server { listen 80; server_name forums.violetcomics.com; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_redirect off; # Socket.io Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; gzip on; gzip_min_length 1000; gzip_proxied off; gzip_types text/plain application/xml application/x-javascript text/css application/json; location @nodebb { proxy_pass http://io_nodes; } location ~ ^/(images|language|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js|stylesheet\.css|admin\.css) { root /path/to/nodebb/public/; try_files $uri $uri/ @nodebb; } location / { proxy_pass http://io_nodes; } }
Edit: Error came back. @_@ I'll get back to it later.
-
[Best practices?] If I'm running a droplet and want to use multiple urls for different node apps...?@nhl.pl said:
You have had default /mynodebb/server.js and it should be /mynodebb/app.js. Error has gone so I guess you're up and running.
Just remember to restart nginx after changing config files.
Are you referring to "forever start --spinSleepTime 10000 main.js"? I had replaced "main" with "app" before restoring.
-
[Best practices?] If I'm running a droplet and want to use multiple urls for different node apps...?I setup nginx and went through this:
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-ltsAnd sort of went through this:
https://www.digitalocean.com/community/tutorials/how-to-host-multiple-node-js-applications-on-a-single-vps-with-nginx-forever-and-crontabBut I messed around with the config.json file not realizing any better, but it kind of falls back on the port so I can still see my forum and but broke it and now it's having this error:
nevermind, see below
I have simple static files here showing up: http://www.violetcomics.com/
But for the forum I want the url not to show the port number and have it somewhere like http://www.violetcomics.com/forum or http://dev.violetcomics.com/forum and not have the gross port number show.
Note: I can restore a snapshot back to before installing nginx and messing up everything but is it possible to undo-EDIT - Nevermind: Snapshotted back.
Edit2: Installing nginx again...
Edit3: Re-installed nginx with one server block enabled (non-NodeBB-related), seen here: http://www.violetcomics.com/
-
If you use Atom, and miss resizable panes...Except Atom doesn't seem to have a paywall...?
-
Cannot select an Icon for Forum CategoriesAfter doing some other stuff like resetting themes and reloading, restarting, it seems to be working now. I wonder if it's related to this, which also happened: https://community.nodebb.org/topic/4129/new-topic-no-display-nodebb-0-7-0-ubuntu-14-10
And lol I forgot to install Persona. Whoops.
-
[v0.7.0-dev] I might have broken the Extend > Rewards page by accident...?I just pulled the latest commit and it seems to be working now. Yessss, thank you. (ノ´ヮ´)ノ*:・゚✧
-
Cannot select an Icon for Forum CategoriesI kind of have the same issue. The icons are kind of a bit too small too to really click on them.
-
The Windows 10 Opinions Topic...@Sim said:
I havn't add the opportunity to play with it, but I am looking forward to it. A lot of people like Windows 7 over Windows 8, but I prefer Windows 8 over Windows 7 and I don't even have a touch screen. I am actually glad there isn't a "Start Menu". I find myself always getting lost or spending more time looking for "Applications". I just click the "Windows" thing on my keyboard and start typing the name of the application or feature.
I have 8.1 and although it was a bit of a cultural-ish shock for me to have a different "start" menu, I ended up enjoying it. It seems like Windows is starting to really try to behave like Linux while still being Windows.
-
[v0.7.0-dev] I might have broken the Extend > Rewards page by accident...?Now that I'm well fed and not really freaking out over everything I decided to reinstall it, but take a immediate snapshot of the Droplet after successfully setting up the thing, which I would recommend to anyone using Digital Ocean or something similar to do. I'll probably just leave the rewards alone for now and just focus on the stable stuff that I used before this version.
-
Typo in MongoDB installationI think it might be an OS thing: http://stackoverflow.com/questions/11600006/how-to-create-a-configuration-file-for-mongodb
-
[v0.7.0-dev] I might have broken the Extend > Rewards page by accident...?I just wiped out my droplet and tried re-installing without sleeping. Ugh. No. Why did I. Good night.
-
[v0.7.0-dev] I might have broken the Extend > Rewards page by accident...?@Codejet said:
Can't wait till this one works. My NodeBB usage came to a halt , master branch also doesn't display badges correctly.
Will be so freakin' awesome when this is working.
Oh! I think that's when it actually glitched out. I was playing around with badge colors for the group and then went back to the rewards page and then poof. It went.
-
[v0.7.0-dev] I might have broken the Extend > Rewards page by accident...?I almost just broke the app just now trying to fix this but I managed to get everything back up except for the rewards page. I might just back everything up and do a stable install (after sleeping which I didn't do). It's a really nice new version though.
-
[v0.7.0-dev] I might have broken the Extend > Rewards page by accident...?I was playing around with it, it seemed to be working. I was trying to create a group where if you reached a certain number of posts or greater, you'll end up in a group called "Postranomic" but it glitched out somewhere.
From a portion of the log that seemed weird:
29/3 09:18 [10366] - error: TypeError: Cannot set property 'rewards' of null
Host: Digital Ocean with MEAN stack, Ubuntu 14.04, NodeBB 0.7.0-dev (installed the dev version by accident maybe I should re-install with the stable version...?)
-
Introducing the NodeBB 0.7.0 Persona previewCan't wait to install this.
-
Windows + Bitnami MEANStack + ... NodeBB with MongoDB? Possible?So... As far as npm install I'm having issues pretty much the same here: https://community.nodebb.org/topic/540/-nodebb-theme-lavender-lavender-theme-for-nodebb/73 (at the bottom) but I'm not sure how to reinstall npm on the stack or if that would even help.
I guess I should be developing Node.js on linux but so far I've been dual booting and I'm thinking about investing in like a Gigabyte Brix and having two monitors side by side (or even a KVM switch). I use Windows for graphics and I like Ubuntu for developing stuff and it's kind of my dream setup to begin with.
Edit: After rolling around in bed and drinking some coffee, I manually inserted the lavender theme in the node_modules folder, removed it from the npm-shrinkwrap.json file (created a npm-shrinkwrap-backup don't worry), and tried npm install again. It seemed to work up until "[email protected]" saying "no repository field" as a warning. I had to ctrl-C because it was literally stuck there. Now I have a bunch of nice modules installed in the node_modules folder but I'm assuming not all of them to be able to get NodeBB up and running.
Tl;Dr: npm is really not liking .tgz I thinkEdit 2: I screwed up the entire NodeBB installation by typing node app too early and rushing everything. I'm going to take a break and probably upgrade the Ubuntu partition I have and do everything on there.
-
Host Nodebb FreeI've played around briefly with the Node.js setup on Nitrious.io and it's free to use for one box. It's kind of impressive. I haven't used NodeBB with it but I guess it shouldn't be too hard to set it up on there and play around with it due to the built-in text-editor and terminal. The priced plans are kind of price-y though.
-
Windows + Bitnami MEANStack + ... NodeBB with MongoDB? Possible?@psychobunny said:
My guess is that you probably won't even need
build-essential
(or it should already be installed). I have no experience using Bitnami yet so I can't really help you much. Hopefully you figure it out thoughCool. Thank you. I'll just take baby steps.
-
Windows + Bitnami MEANStack + ... NodeBB with MongoDB? Possible?I'm pretty much new to Node.js in general, although I played around with the ExpressJS a bit so far and I'm liking it. I'm using the Bitnami MeanStack on Windows and I'm just wondering if I need to know anything important before I end up breaking stuff or ruining my stack or something... (´・_・`) Like, I'm looking at this and I'm wondering how build-essential and imagemagick would translate into this - or can I skip that part?
Some quick version info:
Node: 0.10.26
MongoDB: 2.4.10 (I think I'm getting 32-bit warnings because this is on a 64-bit machine.. Uhm.. I think the 2GB limit is the only problem though?)
npm: 1.4.3
git: 1.9.0Thank you for reading this and being patient. Maybe this will make sense post-sleeping after 12am. (@_@ ; )