Contributions

12 Contributions
  • Question

    How to transfer my domain to my rails application?

    I am trying to transfer my domain. I am running my rails app using this command from my rails folder RAILS_ENV=production rails s --binding=128.199.95.219 However, I can only access it through http://128.199.95.219:...
    1 By laohasongkramsu Deployment Ruby on Rails DNS Nginx
  • Question

    How do I deploy my rails application?

    My rails application is running on http://128.199.95.219:3000/ how do I point my domain to this port? What is the best way to deploy my rails app? First, I've finished pointing my domain name to DigitalOcean by follo...
    2 By laohasongkramsu Deployment DNS Nginx Ruby on Rails
  • Question

    How to enable port 25 on my Ubuntu server?

    So I am running Spree e-commerce in Rails. When I click on 'place order' after I have added items to my cart and proceed to checkout i got this error. (same question as this person (http://herokuchabi3.blogspot.com/20...
    7 By laohasongkramsu Email Ruby on Rails Ubuntu
  • Question

    How to configure Nginx with Spree 3? Images not showing in Rail's production mode

    I am trying to integrate Spree a popular ecommerce extension for Rails into my app. Every works fine except the images don't show when run in production mode. So I searched and found that people are running into the s...
    1 By laohasongkramsu Nginx Ruby on Rails Ubuntu
  • Answer

    Can't access rails app running on port 3000

    ok i figured it out I was running rails s for the past few days wondering why it is just showing the default “digitalocean…
    By laohasongkramsu
  • Answer

    How to deploy a Rails application from Github?

    ok i figured it out make sure to create /home/index.html as your first/index page and point your route there before yo…
    By laohasongkramsu
  • Answer

    How to run rails application cloned from github?

    ok i figured it out make sure to create /home/index.html and point your route there before you push to git install git “…
    By laohasongkramsu
  • Question

    How to run rails application cloned from github?

    I recently setup a droplet using one-click setup with "Ubuntu Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn)". Now I want to cloned my rails application from github to run on digitalocean. How do I go about this? W...
    1 By laohasongkramsu Deployment Ruby on Rails Git DigitalOcean Ubuntu
  • Question

    Can't access rails app running on port 3000

    I want to start up my rails application I cloned from github. I tried running 'rails s' and everything seems to be working ok as you can see below... `` :/home/rails# rails s => Booting WEBrick => Rails 4.2.1 applicat...
    1 By laohasongkramsu Ruby on Rails Git Ubuntu
  • Question

    How to deploy a Rails application from Github?

    I want to import my app from github to run on Digitalocean. I am currently running Ubuntu Ruby on Rails on 14.04 (Postgres, Nginx, Unicorn). Step I took so far after setting up a new droplet... sudo apt-get update I ...
    2 By laohasongkramsu Git Deployment Ruby on Rails
  • Question

    How to setup prerender.io on my MEAN stack application running behind Nginx?

    I have a Node application running behind Nginx on port:9000. My current nginx config file (/etc/nginx/conf.d/puanjai.com.conf) looks like so.. ``` server { listen 80; server_name puanjai.com www.puanjai.com; l...
    2 By laohasongkramsu MEAN Nginx Node.js
  • Question

    How do I access mongo shell?

    So I SSH as root into my droplet's terminal and I want to access the mongo shell to drop my documents from my mongodb database. How do I got about this? I tried mongo and i got Failed global initialization: BadVal...
    1 By laohasongkramsu MongoDB MEAN DigitalOcean Ubuntu