Skip to content

Commit

Permalink
release version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
okeuday committed Jun 4, 2020
1 parent ce129b6 commit 84ae663
Show file tree
Hide file tree
Showing 368 changed files with 1,917 additions and 1,210 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [CloudI 1.8.0](https://cloudi.org)
# [CloudI 2.0.0](https://cloudi.org)

[![Build Status](https://secure.travis-ci.org/CloudI/CloudI.png?branch=develop)](http://travis-ci.org/CloudI/CloudI) [![CloudI IRC](https://img.shields.io/badge/irc-%23cloudi-orange.svg)](https://webchat.freenode.net?randomnick=1&channels=cloudi) [![Project Stats](https://www.openhub.net/p/CloudI/widgets/project_thin_badge.gif)](https://www.openhub.net/p/CloudI)

Expand Down
46 changes: 23 additions & 23 deletions doc/README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

1. Get CloudI running (need [./configure help?](https://cloudi.org/faq.html#3_Options)):

wget https://osdn.net/dl/cloudi/cloudi-1.8.0.tar.gz
tar zxvf cloudi-1.8.0.tar.gz
cd cloudi-1.8.0/src
wget https://osdn.net/dl/cloudi/cloudi-2.0.0.tar.gz
tar zxvf cloudi-2.0.0.tar.gz
cd cloudi-2.0.0/src
./configure
make
sudo make install
Expand Down Expand Up @@ -88,8 +88,8 @@

1. Compile the CloudI service executable:

gcc -I/usr/local/lib/cloudi-1.8.0/api/c \
-L/usr/local/lib/cloudi-1.8.0/api/c \
gcc -I/usr/local/lib/cloudi-2.0.0/api/c \
-L/usr/local/lib/cloudi-2.0.0/api/c \
-g -O0 -fexceptions hello_world.c -o hello_world_c -lcloudi

1. Now it is necessary to create the CloudI service configuration that
Expand All @@ -102,9 +102,9 @@
[[{prefix, "/quickstart/c/"},
{file_path, "$PWD/hello_world_c"},
{env, [{"LD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.8.0/api/c/"},
"/usr/local/lib/cloudi-2.0.0/api/c/"},
{"DYLD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.8.0/api/c/"}]}]]
"/usr/local/lib/cloudi-2.0.0/api/c/"}]}]]
EOF

1. To dynamically add the CloudI service configuration that
Expand Down Expand Up @@ -188,8 +188,8 @@

1. Compile the CloudI service executable:

g++ -I/usr/local/lib/cloudi-1.8.0/api/c \
-L/usr/local/lib/cloudi-1.8.0/api/c \
g++ -I/usr/local/lib/cloudi-2.0.0/api/c \
-L/usr/local/lib/cloudi-2.0.0/api/c \
-g -O0 hello_world.cpp -o hello_world_cxx -lcloudi

1. Now it is necessary to create the CloudI service configuration that
Expand All @@ -202,9 +202,9 @@
[[{prefix, "/quickstart/cxx/"},
{file_path, "$PWD/hello_world_cxx"},
{env, [{"LD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.8.0/api/c/"},
"/usr/local/lib/cloudi-2.0.0/api/c/"},
{"DYLD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.8.0/api/c/"}]}]]
"/usr/local/lib/cloudi-2.0.0/api/c/"}]}]]
EOF

1. To dynamically add the CloudI service configuration that
Expand Down Expand Up @@ -272,7 +272,7 @@
def project do
[app: :Elixir.HelloWorld,
version: "1.8.0",
version: "2.0.0",
elixirc_paths: ["lib/"],
deps: []]
end
Expand Down Expand Up @@ -385,7 +385,7 @@
file would be added with the same filename
(see the examples [for more details](https://github.com/CloudI/CloudI/tree/develop/examples/hello_world1#readme)).

erlc -pz /usr/local/lib/cloudi-1.8.0/lib/cloudi_core-1.8.0/ebin \
erlc -pz /usr/local/lib/cloudi-2.0.0/lib/cloudi_core-2.0.0/ebin \
hello_world.erl

1. You now have a CloudI service contained within a single Erlang module
Expand Down Expand Up @@ -445,8 +445,8 @@
created by executing the following inside your shell:

mkdir -p src/hello_world_go/vendor/
cp -rf /usr/local/lib/cloudi-1.8.0/api/go/cloudi src/hello_world_go/vendor/
cp -rf /usr/local/lib/cloudi-1.8.0/api/go/erlang src/hello_world_go/vendor/
cp -rf /usr/local/lib/cloudi-2.0.0/api/go/cloudi src/hello_world_go/vendor/
cp -rf /usr/local/lib/cloudi-2.0.0/api/go/erlang src/hello_world_go/vendor/
cat << EOF > src/hello_world_go/main.go
package main
Expand Down Expand Up @@ -623,14 +623,14 @@
EOF
cat << EOF > manifest.txt
Main-Class: org.cloudi.tests.hello_world.Main
Class-Path: /usr/local/lib/cloudi-1.8.0/api/java/cloudi.jar
Class-Path: /usr/local/lib/cloudi-2.0.0/api/java/cloudi.jar
EOF

1. Compile the CloudI service jar:

cd org/cloudi/tests/hello_world/
CLASSPATH=/usr/local/lib/cloudi-1.8.0\
CLASSPATH=/usr/local/lib/cloudi-2.0.0\
/api/java/cloudi.jar:${CLASSPATH} javac Task.java Main.java
cd ../../../../
jar cvfm hello_world.jar manifest.txt org
Expand All @@ -645,7 +645,7 @@
cat << EOF > hello_world.conf
[[{prefix, "/quickstart/java/"},
{file_path, "$JAVA"},
{args, "-cp /usr/local/lib/cloudi-1.8.0/api/java/ "
{args, "-cp /usr/local/lib/cloudi-2.0.0/api/java/ "
"-ea:org.cloudi... -jar $PWD/hello_world.jar"}]]
EOF

Expand Down Expand Up @@ -680,7 +680,7 @@
created by executing the following inside your shell:

cat << EOF > hello_world.js
var CloudI = require('/usr/local/lib/cloudi-1.8.0/' +
var CloudI = require('/usr/local/lib/cloudi-2.0.0/' +
'api/javascript/CloudI.js').CloudI;
var assert = require('assert');
Expand Down Expand Up @@ -816,7 +816,7 @@
[[{prefix, "/quickstart/perl/"},
{file_path, "$PERL"},
{args, "$PWD/hello_world.pl"},
{env, [{"PERL5LIB", "/usr/local/lib/cloudi-1.8.0/api/perl"}]}]]
{env, [{"PERL5LIB", "/usr/local/lib/cloudi-2.0.0/api/perl"}]}]]
EOF

1. To dynamically add the CloudI service configuration that
Expand Down Expand Up @@ -852,7 +852,7 @@
cat << EOF > hello_world.php
<?php
require '/usr/local/lib/cloudi-1.8.0/api/php/CloudI.php';
require '/usr/local/lib/cloudi-2.0.0/api/php/CloudI.php';
class Task
{
Expand Down Expand Up @@ -942,7 +942,7 @@

cat << EOF > hello_world.py
import sys
sys.path.append('/usr/local/lib/cloudi-1.8.0/api/python/')
sys.path.append('/usr/local/lib/cloudi-2.0.0/api/python/')
import traceback
from cloudi import API, terminate_exception
Expand Down Expand Up @@ -1016,7 +1016,7 @@
created by executing the following inside your shell:

cat << EOF > hello_world.rb
\$:.unshift '/usr/local/lib/cloudi-1.8.0/api/ruby'
\$:.unshift '/usr/local/lib/cloudi-2.0.0/api/ruby'
\$DEBUG = false
Expand Down
Loading

0 comments on commit 84ae663

Please sign in to comment.