Serving assets for handling universal links http://join.status.im
Go to file
Andrea Maria Piana d64c9faf30 add tests to pipeline 2018-07-02 15:41:06 +02:00
bin Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
public redirect to test flight page ios 2018-06-29 08:33:59 +02:00
resources Add apple association site 2018-06-28 22:11:52 +02:00
routes Redirect server side 2018-07-02 15:07:30 +02:00
tests add tests to pipeline 2018-07-02 15:41:06 +02:00
views redirect to stores 2018-06-28 09:24:13 +02:00
.dockerignore Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
.gitignore Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
Dockerfile Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
Jenkinsfile add tests to pipeline 2018-07-02 15:41:06 +02:00
LICENSE Initial commit 2018-06-27 15:30:27 +02:00
README.md add tests to pipeline 2018-07-02 15:41:06 +02:00
app.js Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
docker-compose.override.yml Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
docker-compose.yml Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
package-lock.json Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00
package.json Move to express as we need a bit more finess 2018-06-28 08:59:27 +02:00

README.md

Universal links handler

App to handle universal links

Getting Started

Prerequisites

You need to have docker & docker-compose installed

Development

Start docker-compose with:

docker-compose -p whatever up

It will listen on port 8080 and mount the correct volumes so any change is then reflected.

node_modules are mounted as a volume so in case you change package-lock.json will need to be re-installed in the docker container.

Production locally

Start docker-compose with:

docker-compose -p whatever -f docker-compose.yml up

Don't forget to rebuild the image if you made any changes

docker-compose -p whatever -f docker-compose.yml build

It will build the image and start the container listening on port 8080

Running the tests

To run the tests, first start the container, either in production or development mode.

Then you can run bash tests/run.sh -u localhost:8080 or to run against against the live server bash tests/run.sh -u http://get.status.im

Uses the awesome https://github.com/robwhitby/shakedown

Deployment

The code is automatically deployed when pushed to master