Browse Source

upd configs for ./mad app web ; todo upd app web sources

221V 1 year ago
parent
commit
9fed47b912
2 changed files with 34 additions and 8 deletions
  1. 27 7
      priv/web/rebar.config
  2. 7 1
      priv/web/sys.config

+ 27 - 7
priv/web/rebar.config

@@ -1,14 +1,34 @@
 {sub_dirs,["apps"]}.
 {deps_dir,"deps"}.
 {deps, [
-    {erlydtl,".*", {git, "git://github.com/evanmiller/erlydtl", {tag, "0.8.0"}  }},
-    {cowboy, ".*", {git, "git://github.com/extend/cowboy",      {tag, "1.0.1"}  }},
-    {gproc,  ".*", {git, "git://github.com/uwiger/gproc.git",   {tag, "0.3"}    }},
-    {fs,     ".*", {git, "git://github.com/synrc/fs",           {tag, "1.9"}    }},
-    {sh,     ".*", {git, "git://github.com/synrc/sh",           {tag, "1.9"}    }},
+    {gproc,   ".*", {git, "https://git.4dev.win/n4u/gproc.git",        {tag, "0.6.1"}}},
+    %{syn,     ".*", {git, "https://git.4dev.win/n4u/syn.git",          {tag, "1.1.0"}}},
+    
+    %{jsone,   ".*", {git, "https://git.4dev.win/n4u/jsone.git",        {tag, "1.4.7"} }},
+    {erlydtl, ".*", {git, "https://git.4dev.win/n4u/erlydtl.git",      {tag, "0.12.1"}}},
+    {nitro,   ".*", {git, "https://git.4dev.win/n4u/nitro.git",        {tag, "2.4-erl19"}  }},
+    
+    {fs,      ".*", {git, "https://git.4dev.win/n4u/fs.git",           {tag, "1.9"}  }},
+    {active,  ".*", {git, "https://git.4dev.win/n4u/active.git",       {tag, "1.9"}  }},
+    
+    {sh,      ".*", {git, "https://git.4dev.win/n4u/sh.git",           {tag, "1.9-erl19"}  }},
+    
+    {cowlib,  ".*", {git, "https://git.4dev.win/n4u/cowlib.git",       {branch, "1.0.0-erl19"} }},
+    {ranch,   ".*", {git, "https://git.4dev.win/n4u/ranch.git",        {tag, "1.0.0"} }},
+    {cowboy,  ".*", {git, "https://git.4dev.win/n4u/cowboy.git",       {tag, "1.0.1"} }},
+    
+    {n2o,     ".*", {git, "https://git.4dev.win/n4u/n4u.git",          {tag, "4.4"}  }},
+    
+    {rest,    ".*", {git, "https://git.4dev.win/n4u/rest.git",         {tag, "2.9"}  }},
+    
+    {mad,     ".*", {git, "https://git.4dev.win/n4u/mad.git",          {tag, "1.9-erl19"}  }}
+    
+    %{kvs,     ".*", {git, "https://git.4dev.win/n4u/kvs.git",          {tag, "3.9.1-erl19"}}},
+    
+    %{oauth,   ".*", {git, "https://git.4dev.win/n4u/erlang-oauth.git", {tag, "v1.6.0"}  }},
+    %{avz,     ".*", {git, "https://git.4dev.win/n4u/avz.git",          {tag, "4.4-erl19"}  }}
+    
     {mad,    ".*", {git, "git://github.com/synrc/mad",          {tag, "1.9"} }},
-    {active, ".*", {git, "git://github.com/synrc/active",       {tag, "1.9"} }},
-    {nitro,  ".*", {git, "git://github.com/synrc/nitro",        {tag, "0.9"} }},
     {n2o,    ".*", {git, "git://github.com/synrc/n2o",          {tag, "2.9"} }}
 ]}.
 

+ 7 - 1
priv/web/sys.config

@@ -1 +1,7 @@
-[{n2o, [{port,8001},{route,routes},{log_modules,sample}]}].
+[{n2o, [
+  {port, 8001},
+  %{websocket_port, 443},
+  {websocket_port, 8001}, % same as port for localhost test
+  {route, routes},
+  {log_modules, sample}
+]}].