Skip to content

Multiple user build on a server #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
2ed2e6b
submodule update
raushankumarnitdgp Oct 4, 2017
68ca699
Intial cookie
raushankumarnitdgp Oct 4, 2017
30801e8
Intial cookie state
raushankumarnitdgp Oct 4, 2017
db1e4da
Random cookie to user
raushankumarnitdgp Oct 4, 2017
d0bc340
Multiple user support
raushankumarnitdgp Oct 4, 2017
6b2b32d
Fixed Multiple user on server with 30 min timeout
raushankumarnitdgp Oct 5, 2017
f690b67
Added comment Folders name
raushankumarnitdgp Oct 5, 2017
7ab2770
Fixed xt-edge allocation issue
raushankumarnitdgp Oct 6, 2017
7c7205d
Fixed Authorised and unauthorised allocation
raushankumarnitdgp Oct 6, 2017
f5b3fa8
Copy xt-edge if users concurrent request more then available
raushankumarnitdgp Oct 6, 2017
5e0916a
Added bash script
raushankumarnitdgp Oct 6, 2017
3497392
Code Optimization and storage object stored in file
raushankumarnitdgp Oct 10, 2017
a551ae4
Object file created
raushankumarnitdgp Oct 10, 2017
6b71e12
Changed access through [] to .
raushankumarnitdgp Oct 10, 2017
0922019
Server update on if all alocated
raushankumarnitdgp Oct 10, 2017
b7b639c
FolderName changed ..
raushankumarnitdgp Oct 10, 2017
5608b49
FoldeName Changed
raushankumarnitdgp Oct 10, 2017
a386590
Updated create-new to log build
raushankumarnitdgp Oct 10, 2017
438bcc1
Fixed file download as download.html to package.zip
raushankumarnitdgp Oct 16, 2017
465ca93
Changed name of key variable to folder
raushankumarnitdgp Oct 16, 2017
3797b33
Fixed expired cookie authentication
raushankumarnitdgp Oct 16, 2017
989977b
Changed timeout from 40min to 4min
raushankumarnitdgp Oct 16, 2017
34b3a10
Added command for mac
raushankumarnitdgp Oct 16, 2017
4daec3a
Added encryption to cookies
raushankumarnitdgp Oct 17, 2017
b7ce7f2
Fixed Intial Cookie Error
raushankumarnitdgp Oct 17, 2017
795c7ac
changed copy command
raushankumarnitdgp Oct 23, 2017
3c2fa87
changed storage format
raushankumarnitdgp Oct 25, 2017
4ace396
Updated xt-edge
raushankumarnitdgp Oct 25, 2017
fe8823d
Added DisplayName Property
raushankumarnitdgp Oct 26, 2017
f11cc90
Stats of minified xtedge
raushankumarnitdgp Oct 26, 2017
6f389f7
Size of core modules updated to 740k
raushankumarnitdgp Oct 26, 2017
7130813
Added categoryIndex and subCategoryIndex
raushankumarnitdgp Oct 27, 2017
536e291
Can sort on basis of primary and secondary Index
raushankumarnitdgp Oct 27, 2017
074bc99
Map Integration Intial State
raushankumarnitdgp Oct 29, 2017
b780f11
Commented console.log
raushankumarnitdgp Oct 29, 2017
4f14cf8
Added build.log
raushankumarnitdgp Oct 30, 2017
71e74c7
stats.json modification within App.js
raushankumarnitdgp Oct 30, 2017
f418edc
Removing Offset addition
raushankumarnitdgp Oct 31, 2017
382905a
Selecting offset modules
raushankumarnitdgp Oct 31, 2017
11d75df
default selection
raushankumarnitdgp Oct 31, 2017
011d97e
userselected Array fixed
raushankumarnitdgp Oct 31, 2017
3a96c54
Optimised getPublicModule method
raushankumarnitdgp Oct 31, 2017
e027c4f
Chenged format of dependency.js
raushankumarnitdgp Nov 1, 2017
21731ec
Optimised deselecting module function
raushankumarnitdgp Nov 1, 2017
8bacd0e
Size fixed but still difference of 0.3 M
raushankumarnitdgp Nov 1, 2017
4071f0d
Intial state of Map integeration in different module
raushankumarnitdgp Nov 2, 2017
72cf262
Maps optimization done
raushankumarnitdgp Nov 2, 2017
ff72077
Fixed Viewing All Public Modules
raushankumarnitdgp Nov 2, 2017
e90248d
Different combination stats generated
raushankumarnitdgp Nov 2, 2017
e1562b2
UI size display fixed
raushankumarnitdgp Nov 3, 2017
857f536
Sorted Maps by displayName
raushankumarnitdgp Nov 3, 2017
0b3a903
Offset chenged
raushankumarnitdgp Dec 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ yarn-debug.log*
yarn-error.log*

# Ignore env file
.env
.env

# Ignore log files
*.log
33 changes: 28 additions & 5 deletions create-build
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,34 @@
# Stop on error
set -e

cd ./vendors/xt-edge/;
rm -rf ./out/_build/*;
rm -rf build.zip;
./node_modules/.bin/webpack --env.modules=$1 --env.minify=true;
ls -la out/_build;
# modules to be build
MODULES=$1;
# directory in which build request will be served
PROJECT_NAME=$2;

# Current directory
DIR=`pwd`;

echo "test" > ${DIR}/build.log;

echo "Project = ${PROJECT_NAME}" >> ${DIR}/build.log;
echo "Modules = ${MODULES}" >> ${DIR}/build.log;

echo "cd to ./vendors/${PROJECT_NAME}" >> ${DIR}/build.log;
cd ./vendors/${PROJECT_NAME} >> ${DIR}/build.log;

echo "Removing ./out/_build/*" >> ${DIR}/build.log;
rm -rf ./out/_build/* >> ${DIR}/build.log;

echo "Removing build.zip" >> ${DIR}/build.log;
rm -rf build.zip >> ${DIR}/build.log;

echo "webpack building ${MODULES}" >> ${DIR}/build.log;
./node_modules/.bin/webpack --env.modules=${MODULES} --env.minify=true --env.ie8=true >> ${DIR}/build.log;

echo "Lists out ./out/_build/*" >> ${DIR}/build.log;
ls -la out/_build >> ${DIR}/build.log;

cd out;
rm -rf package/
mkdir package/
Expand Down
55 changes: 55 additions & 0 deletions create-new
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/bin/bash

# Stop on error
set -e

# modules to be build
MODULES=$1;
# directory in which build request will be served
PROJECT_NAME=$2;
# Current directory
DIR=`pwd`;

echo "test" > ${DIR}/build.log;

echo "Project = ${PROJECT_NAME}" >> ${DIR}/build.log;
echo "Modules = ${MODULES}" >> ${DIR}/build.log;

echo "cd to /vendors/" >> ${DIR}/build.log;
cd ./vendors/ >> ${DIR}/build.log;

echo "copying xt-edge to ${PROJECT_NAME}" >> ${DIR}/build.log;
# yes | cp -rf xt-edge $2 >> ${DIR}/build.log;

# in mac
cp -R xt-edge $2 >> ${DIR}/build.log;

echo "cd to ${PROJECT_NAME}" >> ${DIR}/build.log;
cd ${PROJECT_NAME}/ >> ${DIR}/build.log;

echo "Removing ./out/_build/*" >> ${DIR}/build.log;
rm -rf ./out/_build/* >> ${DIR}/build.log;

echo "Removing build.zip" >> ${DIR}/build.log;
rm -rf build.zip >> ${DIR}/build.log;

echo "webpack building ${MODULES}" >> ${DIR}/build.log;
./node_modules/.bin/webpack --env.modules=${MODULES} --env.minify=true --env.ie8=true >> ${DIR}/build.log;

echo "Lists out ./out/_build/*" >> ${DIR}/build.log;
ls -la out/_build >> ${DIR}/build.log;

echo "cd to out/" >> ${DIR}/build.log;
cd out >> ${DIR}/build.log;

echo "Removing package/" >> ${DIR}/build.log;
rm -rf package/ >> ${DIR}/build.log;

echo "creating a directory package/" >> ${DIR}/build.log;
mkdir package/ >> ${DIR}/build.log;

echo "Copying _build/* to package/" >> ${DIR}/build.log;
cp _build/*.js package/ >> ${DIR}/build.log;

echo "Creating zip of package/ as package.zip" >> ${DIR}/build.log;
zip -r package.zip package/ >> ${DIR}/build.log;
Loading