Skip to content

How to setup the app

agix edited this page Jan 2, 2017 · 1 revision

Build yourself the app (https://github.com/secretin/secretin-app/wiki/How-to-build-yourself) or download zipped files from our github pages (which host current https://secret-in.me)

https://github.com/secretin/secretin-app/archive/gh-pages.zip

Unzip it and serve content of secretin-app-gh-pages/

This branch is linked to https://api.secret-in.me, if you want to set your own api url, you can use this command

sed -i 's/https:\/\/api.secret-in.me/http:\/\/api.my-own-secret-in.me:3000/g' secretin-app-gh-pages/static/js/*.js

Be carefull to use secure origin to host the files (localhost for dev or https server) see https://www.chromium.org/Home/chromium-security/prefer-secure-origins-for-powerful-new-features

To support URL rewriting you can setup a catch-all rule or set 404 page on the index.html

nginx

error_page 404 /index.html;

Clone this wiki locally