221V 3 лет назад
Родитель
Сommit
f1455f3610
2 измененных файлов с 18 добавлено и 97 удалено
  1. 1 1
      LICENSE
  2. 17 96
      README.md

+ 1 - 1
LICENSE

@@ -1,4 +1,4 @@
-Copyright (c) 2013—2017 Maxim Sokhatsky, Synrc Research Center
+Copyright (c) 2013—2022 Synrc Research Center
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 17 - 96
README.md

@@ -1,6 +1,22 @@
-N4U: Erlang Application Server
+N4U (N2O FOR YOU): Erlang Application Server
 ==============================
 
+Dependencies
+---
+```
+```
+do not forget  
+```
+sudo apt-get install esl-erlang
+# or install erlang with kerl
+
+sudo apt-get install git
+sudo apt-get install gcc
+sudo apt-get install make
+sudo apt-get install build-essential
+sudo apt-get install inotify-tools
+```
+
 Features
 --------
 
@@ -21,21 +37,6 @@ Features
 * Speed: **30K** **conn/s** at notebook easily
 * Samples: Skyline (DSL), Games (SPA), Review (KVS), Sample (MAD)
 
-Optional Dependencies
----------------------
-
-N2O comes with BERT message formatter support out of the box, and you only need
-one N2O dependency in this case. Should you need DTL templates, JSON message formatter, 
-SHEN JavaScript Compiler or NITRO Nitrogen DSL you can plug all of them in separately:
-
-```erlang
-{n2o,    ".*",{git,"git://github.com/synrc/n2o",         {tag, "2.8"}}},
-{nitro,  ".*",{git,"git://github.com/synrc/nitro",       {tag, "2.8"}}},
-{shen,   ".*",{git,"git://github.com/synrc/shen",        {tag, "1.5"}}},
-{jsone,  ".*",{git,"git://github.com/sile/jsone.git",    {tag,"v0.3.3"}}},
-{erlydtl,".*",{git,"git://github.com/evanmiller/erlydtl",{tag,"0.8.0"}}},
-```
-
 Message Formatters
 ------------------
 
@@ -79,89 +80,9 @@ chat_loop({Peer, Message} ) ->
        wf:flush(room) end.
 ```
 
-Performance
------------
-
-ab, httperf, wrk and siege are all used for measuring performance. 
-The most valuable request hell is created by wrk and even though it 
-is not achievable in real apps, it can demonstrate internal throughput 
-of certain individual components. 
-
-The nearest to real life apps is siege which also performs a DNS lookup
-for each request. The data below shows internal data throughput by wrk:
-
-| Framework | Enabled Components | Speed | Timeouts |
-|-----------|--------------------|-------|----------|
-| PHP5 FCGI | Simple script with two <?php print "OK"; ?> | 5K | timeouts |
-| ChicagoBoss| No sessions, No DSL, Simple DTL | 500 | no |
-| Nitrogen  | No sessions, No DSL, Simple DTL | 1K | no |
-| N2O       | All enabled, sessions, Template, heavy DSL | 7K | no |
-| N2O       | Sessions enabled, template with two variables, no DSL | 10K | no |
-| N2O       | No sessions, No DSL, only template with two vars | 15K | no |
-
-Kickstart Bootstrap
--------------------
-
-To try N2O you  need to clone a N2O repo from Github and build it.
-We use a very small and powerful tool called mad designed specially for our Web Stack.
-
-    $ git clone git://github.com/synrc/n2o
-    $ cd n2o/samples
-    $ ./mad deps compile plan repl
-
-Now you can try it out: [http://localhost:8000](http://localhost:8000)
-
-LINUX NOTE: if you want to have online recompilation you should install `inotify-tools` first:
-
-    $ sudo apt-get install inotify-tools
-
-Tests
------
-
-    $ cd tests
-    $ npm install -g casperjs
-    $ casperjs test casper
-
-Erlang version
---------------
-
-We don't accept any reports of problems related to ESL or Ubuntu packaging.
-We only support Erlang built from sources, official Windows package,
-built with kerl or installed on Mac with homebrew. If you have any problems
-with your favourite Erlang package for your OS, please report issues
-to package maintainer.
-
-Posting Issues on Github
--------
-
-Thank you for using N2O (you've made a wise choice) and your contributions
-to help make it better. Before posting an issue on Github, please contact
-us via the options listed below in the support section. Doing so will
-help us determine whether your issue is a suggested feature, refactor
-of existing code, bug, etc, that needs to be posted to GitHub for the
-contributing development community of N2O to incorporate. DO NOT post
-issues to GitHub related to misuses of N2O, all such issues will be closed.
-
-Support
--------
-* https://gitter.im/synrc/n2o
-* IRC Channel #n2o on FreeNode 24/7
-
 Documentation
 -------
-
-If you are new or you need to decide whether the N2O architecture
-and philosophy is a fit for your project
-
 * Official N2O v4.4 Book (outdated) [PDF](http://synrc.com/apps/n2o/doc/book.pdf)
 
-Windows Users
--------------
-
-For windows you should install http://msys2.github.io and
-appropriative packages to use Synrc Stack:
-
-* pacman -S git
-
 ---
 OM A HUM