I am new new to Ruby on Rails. In my rails rails application I have used the two servers. One is the rails server and other one is simple ruby server.rb file. I need to start both the server with Start.sh script to deploy.
I have tried the following Code of Start.sh file. But the issue is Rail server is not starting until and unless I stop the ruby server.rb.
start.sh file code
rake ts:stop
rake ts:start
rake ts:index
ruby server.rb
rails server
I want to run both the servers through a single script
Aucun commentaire:
Enregistrer un commentaire