Skip to content

Ansible for Discourse installation from existing Askbot forum.

Notifications You must be signed in to change notification settings

mcutshall/Discourse_Ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Guide:

  1. SQL Dump

         Add your sql dump to group_vars/all/main.yml line 53. 
    
  2. Dev email and postgres password

         Add developer email to group_vars/all/main.yml line 6.
    
         Add postgres password to group_vars/all/main/yml line 12.
    
  3. Remote host configuration

         Add remote host ip addresses to inventory/remote.
    
  4. Import script

         Modify roles/db-config/files/askbot.rb import script for your user, host, and password.
    
  5. Auth User Emails

         If your sql dump has the same email for every user, then the askbot.rb import script will not create
         any users. This is fixed by setting all user emails to the developers email address + each user's id. 
         If your sql dump has unique emails for each user then skip this step. 
    
         Change update_auth_user as necessary in group_vars/all/main.yml line 58.
    
  6. Run Ansible playbook

         sudo ansible-playbook -i inventory/remote -s -K -u <user> master.yml
         -replace <user> with your username.
    
  7. Run development server

         cd /var/www/discourse
         sudo bundle exec rails s -b 0.0.0.0
         
         Access dev site through http://<remote_ip>:3000
    

About

Ansible for Discourse installation from existing Askbot forum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published