Starting The Server

[Solved] Starting The Server | Shell - Code Explorer | yomemimo.com
Question : start server

Answered by : colorful-caiman-m575sz7uuhd1

// Staging
sudo su - drone
cd /srv/api/deliveree/current
bundle exec rails c -e staging
// PROD
sudo su - drone
cd /srv/api/deliveree/current
bundle exec rails c -e production

Source : | Last Update : Wed, 05 Oct 22

Question : Starting the server#

Answered by : sumit-rawal-ig4gaypbyn28

{"tags":[{"tag":"textarea","content":"val host = system.settings.config.getString(\"api.host\")\nval port = system.settings.config.getInt(\"api.port\")\nval srv = Http().bindAndHandle(route, host, port)\nval pressEnter = StdIn.readLine()\nsrv.flatMap(_.unbind()).onComplete(_ => system.terminate())","code_language":"scala"}]}

Source : | Last Update : Tue, 30 May 23

Answers related to starting the server

Code Explorer Popular Question For Shell