Nice @Guiri!
I have a question.
Where you are hosting your database and what is the database(mongo/redis)?
Nice @Guiri!
I have a question.
Where you are hosting your database and what is the database(mongo/redis)?
I am Brazilian, but I believe that Germany and Argentina have great chances of winning.
The pressure on the team will be very large, and this can help and hinder the performance of the players.
GO BRAZIL !!!!
@psychobunny
awesome!
Good work, i will testing it. =]
@psychobunny Thanks!
We thank you for this! Thank you very much.
NodeBB is the bases of our MVP model.
The home page was built manually for me. The WP was integrated in section articles using a API JSON. The tag system is a initial approach, on next days it will be changed to make it more simple.
On the future we will launch some pieces as plugins. Right now we are working on change directly in core, because time is a limitant on a startup project.
If anyone wants to talk about the changes, feel free to e-mail me or call me here in chat.
@Giorgio-Chiodi
We change some core functions. But it is a initial stage, that is our MVP. On post, the pet of user is captured, and this is marked on the thread.
Users can filter according your interests, so if you have a dog and click on filter button, we show only dog posts for example.
@baris Thanks!
Now we are working to make simple the post action. May be putting the form of posting inside a topic.
Also we are studying the possibility to integrate nodebb and opencart, to make the market place. So, this is a startup, and we will work a lot! =]
I don't linking authentication.
I have used this plugin "JSON API" to do a front-end for the blog using nodebb pages.
We created routes to get category and posts, like this: http://petiko.com.br/articles
This is a startup project focused on brazilian pet segment. We will work to create a market place, and a platform of content recomendation to make learning fun. Users can register and inform yours pet's, and we recomend content according your interests and provide threads of discussions about that, besides thematic quiz games. Some actions have gamification strategies and in future user can change your points for prizes.
Sorry for my bad english pitch =P
@psychobunny Thanks for responding! =]
I think it might be a simple thing. Once we eliminate the external authentication, create the thread would remain and render the comments.
Recalling that the user is already authenticated in nodebb, and blog posts content was acquired using a REST API.
@psychobunny
I'm using a wordpress JSON Rest API to get posts of my blog and render inside a nodebb page (created manually for me).
So, i have a route "/article/slug-of-this" that get a post by slug on wordpress and show your content on nodebb.
Currently I'm using Disqus comments. But would like to use your plugin nodebb-plugin-blog-comments, or some variation.
Users are already authenticated, then it would not need to authenticate to Wordpress or Ghost.
How can I modify or adapt it to make it possible nodebb comments using threads?
Thanks!
@julian Solved... I changed my DNS server, i think that cloudflare cache was the problem origin.
@planner I'm using a single domain on my ec2 Instance...
So, i really need to set a relative path?
That error started after to cloudflare dns pointed to my Elastic IP. Using only IP address, this error not occurred.
I need to set other config on nginx, like a site available or something else?
@julian Version 1.4.1, ubuntu server on amazon ec2
@planner What is your config.json and ngix.conf?
Ps: I have used mydomain in this post instead of my real domain
my config.json:
{
"base_url": "http://www.mydomain.com",
"port": "4567",
"use_port": true,
"secret": "-",
"bind_address": "127.0.0.1",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "-",
"password": "-",
"database": "-"
},
"bcrypt_rounds": 12,
"upload_path": "/public/uploads",
"relative_path": ""
}
And my nginx.conf
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile off;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
##
# nginx-naxsi config
##
# Uncomment it if you installed nginx-naxsi
##
#include /etc/nginx/naxsi_core.rules;
##
# nginx-passenger config
##
# Uncomment it if you installed nginx-passenger
##
#passenger_root /usr;
#passenger_ruby /usr/bin/ruby;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
server {
listen 80;
server_name www.mydomain.com;
location / {
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_pass http://127.0.0.1:4567;
proxy_redirect off;
# Socket.IO Support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
#
# Specific for comet or long running HTTP requests, don't buffer up the
# response from origin servers but send them directly to the client.
#
#proxy_buffering off;
# supposedly prevents 502 bad gateway error;
# ultimately not necessary in my case
proxy_buffers 8 32k;
proxy_buffer_size 64k;
tcp_nodelay on;
}
}
}
When user access the website, chrome send this error:
WebSocket connection to 'ws://www.mydomain.com/socket.io/1/websocket/zDbVq799NSBdGgWrBH0o' failed: Unexpected response code: 502
@planner I have the same problem. When my home page is visited, nodebb send a [ "ws://..." 502 bad gateway ] on chrome console, and widgets are not loaded.
But after user click on any link, the error not occurring any more
I'm using nginx proxy bypass.
How you resolved this?
Thanks
Hi!
How can i install nodebb on heroku using mongoHQ? Can i enable setParameter=textSearchEnabled=true ?
Hi guys.
Can i change default root path?
Actually home.tpl is the default route to "/". I'm avoiding change the core app, can i change it for other route using hook filters, or maybe customizing the theme?
I have created same 'static' pages, and i hope to direct root path to some one.
Thanks
Perfect @psychobunny !!
cheers
Ok, thanks @thesbros !
If i create a new route using a hook, and include the call manually on my menu on header.tpl, exist some way of loading this page using a ajax call?
Hi!
I have a problem when creating new statics page. The 'loading-bar' of lavender theme is not working. How can i fix it?
Thanks
Hi!
Can i use AngularJS in a 'static' page?
Thanks