mitra
(lakeerchand)
May 26, 2015, 9:10am
1
I am completely new to Ruby on Rails , but i want to install discourse on windows, i have installed docker , but when i click to start it, it goes off after just 1 or 2 second. i dont know what to do, is that docker dosn’t work on windows, or am i doing wrong something else, my IDE is NetBeans ,
I know this is something silly , But please help me out in this,
1 Like
best way for development and testُ disourse , install discourse in ubuntu or mac
####im installed in windows with virtualbox but not work properly and its work very slowly
###for windows test this :
Update April 4, 2018 The Discourse Vagrant development install is not longer supported and maintained. Current development install guides can be found at meta.discourse.org for Windows, macOS, and Ubuntu.
###for linux ubuntu
This guide covers installation instructions in a development environment. For a production guide see: Install Discourse in production with the official, supported instructions
So you want to set up Discourse on Ubuntu or Debian to hack on and develop with?
We’ll assume that you work locally and don’t have Ruby/Rails/Postgres/Redis installed on your Ubuntu or Debian system. Let’s begin!
Requirements
We suggest having at least 4 GB RAM and 2 CPU cores.
Current compatibility:
…
###for mac :
This guide covers installation instructions for a macOS development environment, for production guides see: Install Discourse in production with the official, supported instructions
So you want to set up Discourse on macOS to hack on and develop with?
We’ll assume that you don’t have Ruby/Rails/Postgres/Redis installed on your Mac. Let’s begin !
Install Discourse Dependencies
Run this script in your Terminal (or equivalent), to setup your machine for Discourse developmen…
3 Likes
mitra
(lakeerchand)
May 26, 2015, 9:46am
3
Thank you @Qasem_h for reply,
I have gone through that link, i have installed vagrant (VM) , and virtual box , but when i download github, it discarded the installation automatically , i got baffled , dont know what to do. I am working on windows 7 .
mitra:
I have gone through that link, i have installed vagrant (VM) , and virtual box , but when i download github, it discarded the installation automatically , i got baffled , dont know what to do. I am working on windows 7 .
whats your error ?
this is installion information :
after install VM and vagrant
git discourse clone
cd your cloned discourse location
and type : vagrant up (Its takes some time)
vagrant ssh
bundle install
bundle exec rake db:migrate
bundle exec rails server
and open http://localhost:3000 in your browser
2 Likes
mitra
(lakeerchand)
May 26, 2015, 12:23pm
5
I think i should spend some more time with this.
But your help is really appreciated. Thanks.
1 Like
For me it’s localhost:4000 i.e port 4000 not port 3000
* I have not been able to run in production mode due to Windows security interfering with “shared folders”
1 Like
mitra
(lakeerchand)
May 27, 2015, 12:05pm
7
I have installed the git , after inserting commit message , when i clicked on commit button an error popup comes
.
what to do next please help.
mitra
(lakeerchand)
May 29, 2015, 5:59am
9
Hi there , Discourse is now running fine on windows, but when i go to
[http://localhost:4000/admin/ ][1] or to any other page , it gets me to this error page ,
now dont know what to do, coz being unaware of rails
[1]: http://localhost:4000/admin/
kindly help me out in this,
Thanks in advance ,
First create a admin account
mitra
(lakeerchand)
May 29, 2015, 6:12am
11
yes , but how to create the admin account . coz when i go to to http://localhost:4000/admin/
it takes me to the page ( screen shot is attched on above reply.)
First create a acounte in the site
go to your git bash and type : rake admin:create
active that acouunt and gnrate admin rank
Grant Admin Privileges to Existing Account
Run this command from console:
rake admin:create
You will be asked for Email, enter the email of existing account.
Now you will be asked: User with this email already exists! Do you want to reset the password for this email? (Y/n). Press n then enter.
Now you will be asked: Do you want to grant Admin privileges to this account? (Y/n). Press enter to continue.
You will see success message Your account now has Admin privileges!.
That’s it, you have successfully granted Admin privileges to existing account.
After installing and cloning,
vagrant up
doesn’t do anything … .
Is that normal?
Falco
(Falco)
April 3, 2018, 8:52pm
14
You should follow the official guide:
This tutorial has been tested on Windows 10 and 11.
So you want to set up a development environment for Discourse on Windows 10 (or windows 11)? You can do it easily using Windows Subsystem for Linux feature. It is faster too .
This setup requires the WSL 2 installation. It is only available in Windows 10 builds 18917 or higher. We’ll assume that you already installed Windows Subsystem for Linux 2 (Ubuntu) on your Windows 10 system. WARNING: Install Ubuntu 1…
5 Likes
Falco
(Falco)
April 3, 2018, 9:47pm
16
So you can run a virtual machine with latest Ubuntu and follow:
This guide covers installation instructions in a development environment. For a production guide see: Install Discourse in production with the official, supported instructions
So you want to set up Discourse on Ubuntu or Debian to hack on and develop with?
We’ll assume that you work locally and don’t have Ruby/Rails/Postgres/Redis installed on your Ubuntu or Debian system. Let’s begin!
Requirements
We suggest having at least 4 GB RAM and 2 CPU cores.
Current compatibility:
…
8 Likes
system
(system)
Closed
May 7, 2021, 1:36pm
18
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.