Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Instructions

To run the image execute the

docker run -it --name alex_client -p 8000:8000 -p 35729:35729 fads/fadsclient

Once inside the image, you'll need to generate an ssh key and add it to your bitbucket account.

cd /home/fads/code/current
cd .ssh
ssh-keygen -t rsa
cat id_rsa.pub
# copy the output into your bitbucket ssh keystore.
# https://bitbucket.org/account/user/<your-name>/ssh-keys/

Now that we have the keys, we just need to clone the repo. First make a fork of the parent repo located at https://bitbucket.org/goafads/alex_client. Click [fork] on the left hand

git clone git@bitbucket:<your-name>/alex_client.git
cd alex_client

We will now download the dependencies. All dependencies for the client are located in the hidden .lib folder. I do this to keep a clean project, but it is not standard practice.

cd .lib
npm install
bower install

We're almost there. First we need to transpile and compile the client

gulp &

This runs gulp in the background, but STDOUT will still appear in the terminal. Now we just need to run an http-server to serve the files which are located in the .www folder.

cd ../
cd .www
http-server -p 8000

Now, on your host machine, navigate to localhost:8000.

Troubleshooting

I get "This webpage is not available" using boot2docker

You will need to open up a port through virtualbox for this to work. Open virtualbox, and select the boot2docker image. Click the settings button, and navigate to the network tab.

Docker Pull Command
Owner
fads