Teamboard is the next level of Internet.
The client depends on both the teamboard-io, and teamboard-api being installed and running. Please refer to their respective guides for installation.
npm install N4SJAMK/teamboard-client
You need to have a few variables set before building the distribution.
NODE_ENV
has to be set to production
if you are setting the other
variables manually. If set to development
, the client will try to connect
to services running on localhost. When set to production
, you must declare
the other environmental variables with valid values.
API_URL
andAPI_PORT
correspond to theteamboard-api
host and portIO_URL
andIO_PORT
correspond to theteamboard-io
host and portSTATIC_URL
andSTATIC_PORT
correspond to where screenshots and stuff are hosted. Currently the static contet is being hosted byteamboard-api
.HOSTNAME
can be set if you want to test on IPad or something similar. This will mean that thegulp
default task will run the server with the given hostname and that the application will try and connect to the given hostname for theteamboard-api
andteamboard-io
services.
Once you have set the required variables if any. You can build the distribution
with the command gulp build
. If you have set the environment to production
,
the app will use a minified version of the javascript. The result of the
gulp build
command will give you a dist folder that you need to serve with
something like nginx.