Malav Desai

Joined

180 Experience
0 Lessons Completed
0 Questions Solved

Activity

I am trying to make a Chat web application based on Rails 4.0 using "private_pub" gem which works perfectly on my localhost server. You can check out my application at curatethelens.com. Now my site is hosted on DigitalOcean and i want to push chat code on the server to see how real-time chat app will work.

My question is What should i have to do to make it work on any Linux server ( Here Digital Ocean for me). I am using Nginx server on DigitalOcean.

What should i use as FAYE_URL in place of the server: in private_pub.yml file? And Do i have to run rack command on my server terminal? Or is there any other way to host Faye on a different server then curatethelens.com ?

I have many cards (div blocks) on my single page application. I want to track view counts when user scroll through this page. Means whenever one card visible on screen or in screen viewport area while scrolling just increment view count for that perticular card (div blocks). Its like Facebook tracking pixel thing but i want ot create custom and different tracking pixel for my cards which track view counts when div is visible.
I am using Ruby on Rails and Angularjs.
Thank you.

I have many cards (div blocks) on my single page application. I want to track view counts when user scroll through this page. Means whenever one card visible on screen or in screen viewport area while scrolling just increment view count for that perticular card (div blocks). Its like Facebook tracking pixel thing but i want ot create custom and different tracking pixel for my cards which track view counts when div is visible.

Thank you.

Posted in How to migrate from Heroku to Digital Ocean

Hey Jacob, Thanks for reply. I am moving my site from Heroku free dynos to DigitalOcean paid hosting. So my database is on Heroku. I have downloaded binary format of my db dump from Heroku. Now i want to move that file to DigitalOcean as my database. I have created username and database name for Postgres while deploying code on DigitalOcean. Now I just want to copy all the content of that binary file to that database.

Posted in How to migrate from Heroku to Digital Ocean

Ohk Thanks.. But do you find any article or solution for that? I deployed my site code on digital ocean everything is working fine. Now Heroku rotates credentials periodically and updates applications where this database is attached. And i have exported database from heroku which is in Binary format. Now how i supposed to place that file or data to my digital ocean's postgres database which i have created at time of deploying. I followed https://gorails.com/deploy/ubuntu/16.04 this article to deploy on digitalocean.

Posted in How to migrate from Heroku to Digital Ocean

@Francisco Quinones How did you manage to migrate your heroku database on digital ocean?

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.