SCT Project Setup - tooltwist/documentation GitHub Wiki
PRE- SETUP GUIDELINES
You would be needing a Docker Account
Once a docker account is created, Phil should grant you an access to the Project’s docker hub
VitualBox should be pre-setup as well
Quickstart Terminal
PART 1 - PROJECT SETUP
1) INSTALL KITEMATIC
Just follow the instructions as you setup the Docker toolbox
2) CREATE DEVELOPMENT FOLDER ON MAC HD
3) On Development folder, copy the following:
Curia-core
Apache-tomcat-8.0.27
Under Development Folder, I should have the following:
1. Gitclone cloudmall-data folder
2. Create eclipse-workspace folder
* Inside eclipse workspace:
Bootstrap-tooltwist
Cloudmall
And everything that’s setup on Tooltwist (ttstd, ttwbd, web-design)
3. Gitclone tea
4) OPEN KITEMATIC
5) OPEN QUICKTERMINAL
6) Perform the following steps on Initial Project Setup
cd Development/eclipse-workspace/webdesign/tbi-webdesign/targets/dev/
~/Development/drinkpoint/eclipse-workspace/webdesign/tbi-webdesign/targets/dev
* ls (Upon listing all folder contents, you should be able to see the steps)
./2.start-containers
./9.stop-containers
./0.cleanup
7) Run Steps 1-9 from listed steps on this location
~/Development/drinkpoint/eclipse-workspace/webdesign/tbi-webdesign/targets/dev
./0.cleanup
./1.prepare
./2.start-containers
./4.run-tea
./6.load-data
8) Update the following web.xml site-conf folder
PART 2 - CREATING DOCKER IMAGE
Open docker quick start terminal
cd ~/Development/eclipse-workspace/webdesign/tbi-webdesign/targets/dockerize/
Check tooltwist version
tooltwist -v
Tooltwist-cli version "0.0.47"
*If the version is different, Run npm install -g tooltwist
./2.designer
./2.createDockerimage
./3.checkErrors
./4.tagImage
./5.publish