Skip to content

ganeshkumar/discourse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discourse

Discourse

It's a forum which is integrated with smokefree project. People can discuss about quitting smoke

Rails Servers

There are two digital ocean droplets available. One for test and one for production respectively.

Environment IP RAM Git branch domain names
test 95.85.63.95 1024MB master 95.85.63.95
production 188.226.156.19 1024MB master Not yet decided

Server Config

Both the test and production server configuration are exact replicas. The default images provided by Digital ocean was used. You would find more information about this here.

  • Rails servers are fronted by Nginx
  • ROR is deployed on Unicorn.
  • The database is POSTGRES
  • Preferred clients are [PGADMIN]
  • Both are deployed from github via https

Server restarts

Both nginx and unicorn are configured as services

Nginx

  • service nginx stop
  • service nginx start
  • service nginx restart

Unicorn

  • service unicorn stop
  • service unicorn start
  • service unicorn restart

POSTGRESQL

  • service postgresql stop
  • service postgresql start
  • service postgresql restart

SideKiq

For sending emails and running background jobs

To start in test server [env: profile] : bundle exec sidekiq -d -L sidekiq.log -e profile

To start in production server [env: production] : bundle exec sidekiq -d -L sidekiq.log -e production

TODO: Still need to add some more info

About

A platform for community discussion. Free, open, simple.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 61.6%
  • JavaScript 32.1%
  • CSS 6.1%
  • Shell 0.2%