This commit is contained in:
Paolo Arena
2022-03-27 23:05:10 +02:00
parent e926d1bd90
commit 1b090fd75b
2 changed files with 34 additions and 0 deletions

27
.env.example.production Executable file
View File

@@ -0,0 +1,27 @@
APP_VERSION="0.3.13"
SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet
DIRECTORY_SERVER=freeplanet_serverside
SERVERDIR_WEBSITE=riso.app
SERVERPW_WEBSITE=<password-website-here>
APP_URL="https://riso.app"
URL_FACEBOOK=""
PROVA_PAOLO=""
LANG_DEFAULT="it"
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
MONGODB_HOST="https://www.freeplanet.app:3000"
LOGO_REG='riso-logo-full.png'
TEST_NAME=""
TEST_SURNAME=""
TEST_EMAIL=""
TEST_USERNAME=""
TEST_PASSWORD=""
TEST_APORTADOR="------"
PUBLICKEY_PUSH="<publickey-push-here>"
DEBUG="1"
TELEGRAM_SUPPORT=""
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
TEST_CELL=""
ISTEST=0

View File

@@ -77,12 +77,19 @@ npm run pwa
### Build the app for test Server
```bash
cp .env.example.production .env.test
nano .env.test
# and change SERVERPW_WEBSITE and PUBLICKEY_PUSH keys in this file
./deploy_on_test_server.sh
```
### Build the app for production
```bash
cp .env.example.production .env.production
nano .env.production
# and change SERVERPW_WEBSITE and PUBLICKEY_PUSH keys in this file
./deploy_on_production.sh
```