Make sure rails s can be ran seperately in dodona devshell

This commit is contained in:
Charlotte Van Petegem 2022-05-10 15:24:57 +02:00
parent 32e3c4eabc
commit ea83c8606f
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -161,20 +161,28 @@
''; '';
} }
{ {
name = "server"; name = "server-support";
category = "general commands"; category = "general commands";
help = "Run everything"; help = "Run everything required for a server";
command = '' command = ''
memcached & memcached &
mysql & mysql &
bundle install bundle install
yarn install yarn install
rails s &
rails jobs:work & rails jobs:work &
yarn build:css --watch & yarn build:css --watch &
yarn build:js --watch yarn build:js --watch
''; '';
} }
{
name = "server";
category = "general commands";
help = "Run everything";
command = ''
server-support &
rails s
'';
}
]; ];
language.c = { language.c = {
compiler = pkgs.gcc; compiler = pkgs.gcc;