Make sure rails s can be ran seperately in dodona devshell
This commit is contained in:
parent
32e3c4eabc
commit
ea83c8606f
1 changed files with 11 additions and 3 deletions
14
flake.nix
14
flake.nix
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue