xnlogic 1.0.29 → 1.0.30
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bc30c0c8ff2d7c8bec7358829e1c34caa62921d
|
4
|
+
data.tar.gz: 818389a9cebee9ad3ef37674a33460105a52ec70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c99f04c382e310c33769c269c8033819c5add70d63b9766abca0c94e3f559d8ff38cc8471454a1becbf71a9e71b748b808466c7909935707a687563a09b5b39c
|
7
|
+
data.tar.gz: 007ef013e629a481725b24483e6b2434b937b16fee46456fb4051618c89ed23f29bdbe866c1bcc0a1aa29323e3930321593d77811afea2c70c924e9ed0f2c596
|
@@ -4,7 +4,18 @@ This gem provides the domain model and business logic for ...
|
|
4
4
|
|
5
5
|
# Getting a New Environment Set Up
|
6
6
|
|
7
|
-
|
7
|
+
Assuming you have Vagrant installed and one of either VMWare Workstaton/Fusion or VirtualBox, starting up your development VM is as easy as
|
8
|
+
|
9
|
+
```
|
10
|
+
xnlogic up
|
11
|
+
```
|
12
|
+
|
13
|
+
Then you can login with
|
14
|
+
```
|
15
|
+
xnlogic ssh
|
16
|
+
```
|
17
|
+
|
18
|
+
For more details, see ["Setting Up"](http://xnlogic.github.io/getting_started/tutorial/2014/01/01/tutorial1-1.html "xnlogic's Getting Started") in our [Getting Started](http://xnlogic.github.io/getting_started) guide.
|
8
19
|
|
9
20
|
# Starting up the Development Console
|
10
21
|
|
@@ -82,5 +93,5 @@ Also, you can load and GraphML back into the graph with:
|
|
82
93
|
```
|
83
94
|
|
84
95
|
# Copyright
|
85
|
-
Copyright XN Logic Corporation,
|
96
|
+
Copyright XN Logic Corporation, 2015. All rights reserved.
|
86
97
|
Contact us@xnlogic.com for usage restrictions.
|
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
1
|
#!/bin/bash
|
3
|
-
|
4
2
|
export XN_LOG_DIR=$HOME/xn.dev/tmp
|
5
3
|
|
6
4
|
silent() { if [[ $debug ]] ; then "$@"; else "$@" &>/dev/null; fi; }
|
@@ -14,7 +12,6 @@ else
|
|
14
12
|
fi
|
15
13
|
echo '{"note":"Suppressing Torquebox logs."}' | json -i | cat
|
16
14
|
|
17
|
-
|
18
15
|
cd $HOME/xn.dev
|
19
16
|
|
20
17
|
mkdir -p $XN_LOG_DIR
|
@@ -23,28 +20,20 @@ touch xn.js.log xnlogic.json development.log ${XN_CLIENT}-assets.log
|
|
23
20
|
cd -
|
24
21
|
|
25
22
|
cd fe/xn.js
|
23
|
+
sudo npm install
|
26
24
|
cake serve &> $XN_LOG_DIR/xn.js.log &
|
27
25
|
echo "xn.js started"
|
28
26
|
cd -
|
29
27
|
|
30
|
-
|
31
|
-
|
32
28
|
ASSETS_DIR=$HOME/$XN_CLIENT/assets
|
33
29
|
if [ -d $ASSETS_DIR ]; then
|
34
30
|
ASSETS_PORT=3031
|
35
|
-
|
36
31
|
cd $ASSETS_DIR
|
37
|
-
|
38
32
|
script/duster -w assets/templates assets/javascripts/templates.js &> $XN_LOG_DIR/duster.js.log &
|
39
|
-
|
40
33
|
bundle exec rackup -p $ASSETS_PORT &> $XN_LOG_DIR/${XN_CLIENT}-assets.log &
|
41
|
-
|
42
34
|
cd -
|
43
35
|
fi
|
44
36
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
37
|
START_APPS=$HOME/$XN_CLIENT/apps/apps.start.sh
|
49
38
|
if [ -x $START_APPS ]; then
|
50
39
|
cd $HOME/$XN_CLIENT/apps
|
@@ -52,22 +41,15 @@ if [ -x $START_APPS ]; then
|
|
52
41
|
cd -
|
53
42
|
fi
|
54
43
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
44
|
cd $HOME/xn.dev
|
59
|
-
|
60
|
-
|
61
45
|
tail -n 0 -f fe/fe-server/log/development.log $XN_LOG_DIR/xn.js.log $XN_LOG_DIR/${XN_CLIENT}-assets.log &
|
62
46
|
tail -n 0 -f $XN_LOG_DIR/server.log | grep -E "Deployed|Starting deployment|TOPLEVEL_BINDING" &
|
63
|
-
|
64
47
|
tail -n 0 -f $XN_LOG_DIR/xnlogic.json | while read line; do echo "$line" | json -i; done &
|
65
48
|
|
66
49
|
warn_sigint() {
|
67
50
|
echo "Please wait for shutdown to complete cleanly. (Press Ctrl-C again to force)"
|
68
51
|
}
|
69
52
|
|
70
|
-
|
71
53
|
# Terminate all processes
|
72
54
|
terminator() {
|
73
55
|
trap 'warn_sigint' SIGINT
|
@@ -82,5 +64,5 @@ export RELOAD=true
|
|
82
64
|
echo "starting torquebox"
|
83
65
|
lsof -i :8080 -sTCP:listen | grep . || torquebox run &> /dev/null &
|
84
66
|
echo "Hit Ctrl+C to terminate"
|
67
|
+
# Using cat to keep processes live
|
85
68
|
cat
|
86
|
-
at
|
@@ -76,16 +76,21 @@ hr
|
|
76
76
|
sudo start datomic
|
77
77
|
|
78
78
|
hr
|
79
|
+
|
80
|
+
SERVER_START_SCRIPT="$HOME/$XN_CLIENT/config/start.sh"
|
81
|
+
|
79
82
|
echo "Customizing .zshrc for $XN_CLIENT development"
|
80
83
|
echo "export XN_CLIENT=$XN_CLIENT" >> ~/.zshrc
|
81
|
-
|
82
|
-
echo "alias xn-server=$XN_CLIENT/config/start.sh" >> ~/.zshrc
|
84
|
+
echo "alias xn-server=$SERVER_START_SCRIPT" >> ~/.zshrc
|
83
85
|
echo 'alias xn-console="(cd ~/$XN_CLIENT && bundle exec jruby -J-Xmx1g -J-XX:MaxPermSize=200m -S irb -I lib -r dev/console)"' >> ~/.zshrc
|
84
86
|
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*' >> ~/.zshrc
|
85
87
|
echo 'JRUBY_OPTS=--dev source $HOME/xn.dev/script/setup_stack' >> ~/.zshrc
|
86
88
|
echo "alias gs='git status'" >> ~/.zshrc
|
87
89
|
echo "alias gd='git diff -w'" >> ~/.zshrc
|
88
90
|
echo "alias gdc='git diff -w --cached'" >> ~/.zshrc
|
91
|
+
|
92
|
+
chmod +x $SERVER_START_SCRIPT
|
93
|
+
|
89
94
|
git config --global --add alias.co "checkout"
|
90
95
|
git config --global --add alias.ci "commit"
|
91
96
|
git config --global --add alias.br "branch"
|
data/lib/xnlogic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xnlogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darrick Wiebe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|