-
Notifications
You must be signed in to change notification settings - Fork 18
Installation checklist
rinzeb edited this page Aug 25, 2017
·
14 revisions
#Installation checklist
Download the following programs:
- Node.js (version 7.10)
- Git
- Python (version 2.7)
- C++ Redistributable package (32-bit or 64-bit)
- Visual C++ Build Tools ( or .NET 2.0 Framework)
- Optional: VS Code IDE
- Optional: ConEmu console
When you are asked to add executables to the PATH variable, do so. At least, make sure that npm, git and python can be accessed from a console window.
Also run the following commands:
npm config set python python2.7
npm config set msvs_version 2015 --global
Clone the csWeb repository from the console (in the folder you want to save it):
git clone https://github.com/TNOCS/csWeb.git
cd csWeb
**Optionally checkout the 'development' branch instead of master**
git checkout master
npm i -g typescript
npm i -g typings
npm i -g gulp
npm i -g bower
npm i -g node-gyp
npm i -g nodemon
typings i
npm i
bower i
gulp
bower link
cd out\csServerComp
npm link
The csWeb framework should now be installed correctly. To use it, set-up an application that uses the csWeb framework, e.g. csWeb-example.
#Setting-up an application Clone the csWeb-application repository from the console (in the folder you want to save it):
git clone https://github.com/TNOCS/csWeb-example.git
cd csWeb-example
**Optionally checkout the 'design-update' branch instead of master for the new design**
git checkout design-update
typings i
npm link csweb
npm i
cd public
bower link csweb
bower i
cd ..
tsc
To run the application run the command:
nodemon server.js
This will start a node server on your local machine, which can be accessed through your browser.