Skip to content

Commit 178803e

Browse files
authored
Deps (#30)
* update envs * readme * bump deps
1 parent e315b8f commit 178803e

File tree

5 files changed

+150
-255
lines changed

5 files changed

+150
-255
lines changed

.env.example

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ GATSBY_SRC_ROOT=src
77
GATSBY_PRINT_CONFIG=false
88
SITE_URL=http://localhost:8000/
99

10+
# Directus local
11+
# DIRECTUS_URL=http://localhost:8055
12+
# DIRECTUS_TOKEN=<MY_PERSONAL_ACCESS_TOKEN_FROM_DIRECTUS>
13+
1014
# Directus
11-
DIRECTUS_URL=http://localhost:8055
15+
DIRECTUS_URL=https://admin.moscowjs.org
1216
DIRECTUS_TOKEN=<MY_PERSONAL_ACCESS_TOKEN_FROM_DIRECTUS>
1317

1418
# BFF API

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ By contributing to moscowjs.org, you agree to abide by the [code of conduct](/co
1313
```
1414
git clone https://github.com/MoscowJS/moscowjs.org
1515
cd moscowjs.org
16+
n auto # or nvm use
1617
npm install
1718
```
1819

@@ -22,19 +23,20 @@ npm install
2223

2324
## Development
2425

25-
To start local development, you need a personal access token for Airtable. Create the one on https://airtable.com/create/tokens (you need read access
26-
for Meetups and MoscowJS.org bases).
26+
### How to develop locally
2727

28-
Add created token to the file `.env.development.local`
28+
1. Create env file
29+
- Retrieve directus token from Directus admin panel and put it to DIRECTUS_TOKEN value
2930

30-
## Data sources
31+
```
32+
cp .env.example .env
33+
```
34+
35+
2. Run develop script
3136

32-
1. Pages — https://airtable.com/shrESYQUdFwE3B9Pw
33-
2. Navigation — https://airtable.com/shrVjBdqtUMxPXkI4
34-
3. Events — https://airtable.com/shrriv6tz5JOHmO8g
35-
4. Talks — https://airtable.com/shrxodFEExyrch9A6
36-
5. Speakers — https://airtable.com/shrDgVtkzHCh8wKv1
37-
6. Companies — https://airtable.com/shrspKnmfnArZ3XQJ
37+
```
38+
node --require dotenv/config node_modules/.bin/gatsby build -- --verbose
39+
```
3840

3941
## License
4042

0 commit comments

Comments
 (0)