Help with Helpy
-
@wirestyle22 said in Help with Helpy:
@IRJ I wouldn't have the foggiest either man. That's what learning is though!
I am getting a little further each time now. Maybe this next install attempt will work
-
The installation guide definitely isn't the best.
-
@IRJ said in Help with Helpy:
@wirestyle22 said in Help with Helpy:
@IRJ I wouldn't have the foggiest either man. That's what learning is though!
I am getting a little further each time now. Maybe this next install attempt will work
One thing I noticed with Linux is most guides have you run commands but don't explain what the commands are actually doing very well. I end up looking up every command that is run in a guide and create a definitions list for myself so I can learn the concepts of what I'm actually doing and why. I try to compare guides too and ask questions so I can determine what best practice really means with this stuff.
-
@wirestyle22 said in Help with Helpy:
@IRJ said in Help with Helpy:
@wirestyle22 said in Help with Helpy:
@IRJ I wouldn't have the foggiest either man. That's what learning is though!
I am getting a little further each time now. Maybe this next install attempt will work
One thing I noticed with Linux is most guides have you run commands but don't explain what the commands are actually doing very well. I end up looking up every command that is run in a guide and create a definitions list for myself so I can learn the concepts of what I'm actually doing and why. I try to compare guides too and ask questions so I can determine what best practice really means with this stuff.
I am trying to learn ruby.
-
Heard of it last year, and Demo'ed it a couple of months back .. Nice GUI ...
btw, it's developed by a guy named "Scott Miller" ...
-
@Veet said in Help with Helpy:
Heard of it last year, and Demo'ed it a couple of months back .. Nice GUI ...
btw, it's developed by a guy named "Scott Miller" ...
How is the reporting side? there is nothing listed except "google analytics" blasted on every page.
-
@Veet said in Help with Helpy:
Heard of it last year, and Demo'ed it a couple of months back .. Nice GUI ...
btw, it's developed by a guy named "Scott Miller" ...
Their on to me.
-
The tutorial is definitely outdated and needs to be updated.
-
Do you just want to play with it or run it in a live environment?
-
@tiagom said in Help with Helpy:
Do you just want to play with it or run it in a live environment?
I want to use it for personal use and have an area to submit tickets on my website.
-
Ill take a look at it when i get home, see if i can help you out.
-
I've used osTicket before and it works fine, but the interface on Helpy looks nice. I wont be handling hundreds of tickets a week. Maybe 10-15 a month so I am more worried about looks then something that is powerful. So helpy seems like a good solution.
-
@tiagom said in Help with Helpy:
Ill take a look at it when i get home, see if i can help you out.
The closest I got was CentOS 6. I went through the whole tutorial. I just had to change the version on passenger in one of the config files they made. I felt prettty confident I did everything right, but nada.
-
@JaredBusch said in Help with Helpy:
@Veet said in Help with Helpy:
Heard of it last year, and Demo'ed it a couple of months back .. Nice GUI ...
btw, it's developed by a guy named "Scott Miller" ...
How is the reporting side? there is nothing listed except "google analytics" blasted on every page.
As I said ... "The UI is nice" ... and that's that.
-
@IRJ said in Help with Helpy:
I've used osTicket before and it works fine, but the interface on Helpy looks nice. I wont be handling hundreds of tickets a week. Maybe 10-15 a month so I am more worried about looks then something that is powerful. So helpy seems like a good solution
You can easily skin the user-facing portion of osTicket .. If you don't mind putting in the effort, you could even make it look somewhat like Helpy ...
-
Tried twice both didn't work, very strange. will try again later.
-
Ok got it working using the CentOS guild. Here is what differed from the guild and what i found unclear.
rails user needs to added to sudoers using visudo under
root ALL=(ALL) ALL
I added
rails ALL=(ALL) ALL
The following command fails because the latest activesupport requires Ruby version >= 2.2.2
gem install rails --no-ri --no-rdoc
Had to install v4.2.7 instead of the latest. I used:
gem install activesupport -v 4.2.7 gem install rails -v 4.2.7 --no-ri --no-rdoc
To clear up a question from earlier when you run
rake secret
The output needs to be put in /config/secrets.yml under production: secret_key_base:
The postgresql password needs to be edited in /config/database.yml under production: password:
The following command doesn't work
rails s -e production -b your.ip.add.ress:3000
It should be
rails s -e production -b your.ip.add.ress
The /etc/rc.d/init.d/nginx script has a typo, line 92 is Esac it should be esac
For /opt/nginx/conf/nginx.conf i did not replace the contents with what was provided as the versions differed, instead i just added the following under location
root /home/rails/helpy/public; passenger_enabled on; rails_env production;
I commented out the index index.html index.htm
I can provide my /opt/nginx/conf/nginx.conf and /etc/rc.d/init.d/nginx if needed. I could give you the whole vm if needed, i run it under hyper-v.
Also i needed to stop the firewall
service iptables stop
-
@tiagom Wow, I've seen some bad/outdated docs before, but that's really pushing things. Good job figuring it out.
-
@tiagom said in Help with Helpy:
Ok got it working using the CentOS guild. Here is what differed from the guild and what i found unclear.
rails user needs to added to sudoers using visudo under
root ALL=(ALL) ALL
I added
rails ALL=(ALL) ALL
The following command fails because the latest activesupport requires Ruby version >= 2.2.2
gem install rails --no-ri --no-rdoc
Had to install v4.2.7 instead of the latest. I used:
gem install activesupport -v 4.2.7 gem install rails -v 4.2.7 --no-ri --no-rdoc
To clear up a question from earlier when you run
rake secret
The output needs to be put in /config/secrets.yml under production: secret_key_base:
The postgresql password needs to be edited in /config/database.yml under production: password:
The following command doesn't work
rails s -e production -b your.ip.add.ress:3000
It should be
rails s -e production -b your.ip.add.ress
The /etc/rc.d/init.d/nginx script has a typo, line 92 is Esac it should be esac
For /opt/nginx/conf/nginx.conf i did not replace the contents with what was provided as the versions differed, instead i just added the following under location
root /home/rails/helpy/public; passenger_enabled on; rails_env production;
I commented out the index index.html index.htm
I can provide my /opt/nginx/conf/nginx.conf and /etc/rc.d/init.d/nginx if needed. I could give you the whole vm if needed, i run it under hyper-v.
Also i needed to stop the firewall
service iptables stop
Awesome work. I was able to solve some of that, but not enough to get everything working.
-
@tiagom I am still having trouble. Here are my commands. I know there is more, but I should be able to hit the web server at this point.
adduser rails passwd rails gpasswd -a rails wheel ssh-keygen ssh-copy-id rails@SERVER_IP_ADDRESS #Change PermitRootLogin to no nano /etc/ssh/sshd_config service sshd restart yum -y update yum groupinstall -y development yum install -y epel-release pygpgme curl libcurl-devel nano yum install -y postgresql-server postgresql-contrib postgresql-devel git nodejs npm #Add rails to sudoers add rails ALL=(ALL) ALL chkconfig postgresql on service postgresql initdb service postgresql start su - postgres createuser -s rails createdb helpy_production psql \password rails \q exit service postgresql restart #login as rails gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 curl -L get.rvm.io | bash -s stable source /home/rails/.rvm/scripts/rvm rvm requirements rvm install 2.2.1 rvm use 2.2.1 --default rvm rubygems current gem install activesupport -v 4.2.7 gem install rails -v 4.2.7 --no-ri --no-rdoc sudo dd if=/dev/zero of=/swap bs=1M count=1024 sudo mkswap /swap sudo swapon /swap git clone https://github.com/helpyio/helpy.git cd helpy nano Gemfile # Comment out #gem 'rails_12factor' bundle install cp config/database.do.yml config/database.yml rake secret # copy key to production field in secrets and password feild in database nano config/secrets.yml nano config/database.yml touch /home/rails/helpy/log/production.log chmod 0664 /home/rails/helpy/log/production. RAILS_ENV=production rake assets:precompile RAILS_ENV=production rake db:migrate RAILS_ENV=production rake db:seed rails s -e production -b your.ip.add.ress