This repository was archived by the owner on Dec 14, 2023. It is now read-only.
File tree 3 files changed +31
-12
lines changed
3 files changed +31
-12
lines changed Original file line number Diff line number Diff line change
1
+ # ###############################
2
+ # Stuff that you'll want to edit
3
+
4
+ # Eventbrite API: See notes in the README about this.
5
+ # Client secret
6
+ EVENTBRITE_SECRET_KEY =
7
+ # API key
8
+ EVENTBRITE_PUBLIC_KEY =
9
+ # Not sure what this does. Possibly a shared secret for use in the oauth process.
10
+ EVENTBRITE_HASH_KEY = correct-horse-battery-staple
11
+
12
+ # Get this from https://console.cloud.google.com/google/maps-apis/credentials
13
+ GOOGLE_MAPS_KEY =
14
+
15
+ # ##############################################
16
+ # Probably don't need to edit stuff after here.
17
+
1
18
2
19
CD_BADGES = badges
3
20
CD_DOJOS = dojos
9
26
EMAIL_SERVICE = email
10
27
EVENTS_SERVICE = events-service
11
28
EVENT_URL = http://localhost:8000/events/
12
- # Eventbrite API: get these details from https://www.eventbrite.com/myaccount/apps/
13
- # Client secret
14
- EVENTBRITE_SECRET_KEY =
15
- # API key
16
- EVENTBRITE_PUBLIC_KEY =
17
- # Not sure what this does. Possibly a shared secret for use in the oauth process.
18
- EVENTBRITE_HASH_KEY = correct-horse-battery-staple
19
- # Get this from https://console.cloud.google.com/google/maps-apis/credentials
20
- GOOGLE_MAPS_KEY =
21
29
ICS_EVENT_URL = http://localhost:8000/api/3.0/events/
22
30
KUE_HOST = kue
23
31
KUE_REQUIRED = ' true'
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ npm-debug.log
7
7
* .log *
8
8
cd-db /dumps /*
9
9
! cd-db /dumps /.gitkeep
10
+ .env
Original file line number Diff line number Diff line change @@ -83,12 +83,22 @@ Note that the Forums and [Badges](installing-badgekit.md) will not be operable
83
83
in local development mode, to run these, you need to install both
84
84
[ NodeBB] ( https://nodebb.org ) and [ BadgeKit] ( installing-badgekit.md ) locally, which are a different problem.
85
85
86
-
87
- ## Evironent settings
86
+ ## Environment settings
88
87
89
88
All these are in the ` .env.example ` file, which should be copied to ` .env ` .
90
89
Once copied, you'll want to fill in some of the details. Currently you'll need
91
- keys for Google Maps and Eventbrite.
90
+ keys for
91
+ [ Google Maps] ( https://console.cloud.google.com/google/maps-apis/credentials )
92
+ and [ Eventbrite] ( https://www.eventbrite.ie/myaccount/apps/ ) .
93
+
94
+ When making changes to your ` .env ` file, you'll want to run
95
+ ` docker-compose up -d ` to ensure environment changes are propagated to the
96
+ appropriate containers.
97
+
98
+ ** NB** when configuring your Eventbrite API key, you'll need to set the
99
+ * OAuth Redirect URI* on the Key Info page to
100
+ ` http://localhost:8000/dashboard/edit-dojo-eventbrite ` otherwise you'll get a
101
+ message about no ` redirect_uri ` parameter being supplied when connecting.
92
102
93
103
## Making code changes and working locally
94
104
You can’t perform that action at this time.
0 commit comments