Commit 0625bb56 authored by Curtis Adam's avatar Curtis Adam

Add two new setting files:Debug and Review

parent 18e8dfa1
......@@ -10,10 +10,10 @@ arsnova.cards uses Meteor as application framework. Download and install [Meteor
2. Make sure that you've added a [SSH key](https://git.thm.de/profile/keys)
3. Clone the remote repository `git clone git@git.thm.de:arsnova/flashcards.git`
4. Install the npm package dependencies inside the local repository **"flashcards folder"** `meteor npm install`
5. Set your initial admin user in `settings.json` or `settings_test.json` (cas account)
5. Set your initial admin user in `settings.json` or `settings_debug.json` (cas account)
### Settings
Change `settings.json` or `settings_test.json` according to your needs
Change `settings.json` or `settings_debug.json` according to your needs
> Warning: Never publish your settings file!
......@@ -21,7 +21,7 @@ Change `settings.json` or `settings_test.json` according to your needs
Use one of the following commands inside the repository (flashcards folder), to start arsnova.cards on localhost:
- For development:
- `meteor --settings settings_test.json`
- `meteor --settings settings_debug.json`
- For production:
- `meteor --settings settings.json`
......
{
"public": {
"rooturl": "http://localhost:3000",
"cas": {
"loginUrl": "https://cas.thm.de/cas/login",
"serviceParam": "service",
"popupWidth": 810,
"popupHeight": 610
},
"displayLoginButtons": {
"displayFacebook": true,
"displayTwitter": true,
"displayGoogle": true,
"displayCas": true,
"displayTestingBackdoor": true
},
"leitner": {
"dayIntervalHour": 1
},
"university": {
"singleUniversity": false,
"default": "THM"
},
"env": "Sandbox",
"BT_MERCHANT_ID": "7jspbjz7zk4vkh67",
"BT_PUBLIC_KEY": "bf7p9crbdv2359gv"
},
"private": {
"BT_PRIVATE_KEY": "b508f71a0e0b01940b0fbe75940debb9"
},
"admin": {
"name": "hg13345"
},
"facebook": {
"api": "162760697401847",
"secret": "151daa9c4bc95310e9e1fb90accd70f8"
},
"twitter": {
"api": "I8LcQC0NetusL9c5F3EFJUXMl",
"secret": "2z0kNAtYcSU5lQKk6FDRR60gxuFawB4TM7tWvnU7yKk6EHHpYh"
},
"google": {
"api": "131328643116-j00jrgjupbbfeft1a9o0p5ling05vsus.apps.googleusercontent.com",
"secret": "2-P5Vy6VI0eOrKIlOCZZq8cR"
},
"cas": {
"baseUrl": "https://cas.thm.de/cas",
"autoClose": true
},
"mail": {
"senderAddress": "info@arsnova.cards",
"language": "de",
"url": "smtp://postmaster%40sandboxcc4938befa8447ca8c857cdf4b968653.mailgun.org:d07ea9c40ccbb21d268bbda17e9aad9d@smtp.mailgun.org:587"
}
}
{
"public": {
"rooturl": "http://localhost:3000",
"cas": {
"loginUrl": "https://cas.thm.de/cas/login",
"serviceParam": "service",
"popupWidth": 810,
"popupHeight": 610
},
"displayLoginButtons": {
"displayFacebook": false,
"displayTwitter": false,
"displayGoogle": false,
"displayCas": false,
"displayTestingBackdoor": true
},
"leitner": {
"dayIntervalHour": 1
},
"university": {
"singleUniversity": false,
"default": "THM"
},
"env": "Sandbox",
"BT_MERCHANT_ID": "7jspbjz7zk4vkh67",
"BT_PUBLIC_KEY": "bf7p9crbdv2359gv"
},
"private": {
"BT_PRIVATE_KEY": "b508f71a0e0b01940b0fbe75940debb9"
},
"admin": {
"name": "hg13345"
},
"facebook": {
"api": "162760697401847",
"secret": "151daa9c4bc95310e9e1fb90accd70f8"
},
"twitter": {
"api": "I8LcQC0NetusL9c5F3EFJUXMl",
"secret": "2z0kNAtYcSU5lQKk6FDRR60gxuFawB4TM7tWvnU7yKk6EHHpYh"
},
"google": {
"api": "131328643116-j00jrgjupbbfeft1a9o0p5ling05vsus.apps.googleusercontent.com",
"secret": "2-P5Vy6VI0eOrKIlOCZZq8cR"
},
"cas": {
"baseUrl": "https://cas.thm.de/cas",
"autoClose": true
},
"mail": {
"senderAddress": "info@arsnova.cards",
"language": "de",
"url": "smtp://postmaster%40sandboxcc4938befa8447ca8c857cdf4b968653.mailgun.org:d07ea9c40ccbb21d268bbda17e9aad9d@smtp.mailgun.org:587"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment