File tree 8 files changed +16
-9
lines changed
8 files changed +16
-9
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ ALGOLIASEARCH_APPLICATION_ID: YOUR
2
+ ALGOLIASEARCH_API_KEY: KEYS
3
+ ALGOLIASEARCH_SEARCH_ONLY_KEY: HERE
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ x-backend: &backend
30
30
environment : &backend_environment
31
31
<< : *env
32
32
YARN_INTEGRITY_ENABLED : " false"
33
- ALGOLIASEARCH_APPLICATION_ID : PASTE
34
- ALGOLIASEARCH_API_KEY : YOUR
35
- ALGOLIASEARCH_SEARCH_ONLY_KEY : HERE
33
+ ALGOLIASEARCH_APPLICATION_ID : ${ALGOLIASEARCH_APPLICATION_ID}
34
+ ALGOLIASEARCH_API_KEY : ${ALGOLIASEARCH_API_KEY}
35
+ ALGOLIASEARCH_SEARCH_ONLY_KEY : ${ALGOLIASEARCH_SEARCH_ONLY_KEY}
36
36
REDIS_URL : redis://redis:6379/
37
37
DATABASE_URL : postgres://postgres:postgres@postgres:5432
38
38
WEBPACKER_DEV_SERVER_HOST : webpacker
Original file line number Diff line number Diff line change 4
4
# or operating system, you probably want to add a global ignore instead:
5
5
# git config --global core.excludesfile '~/.gitignore_global'
6
6
7
+ # Ignore personal env variables
8
+ .dev_to /.env
9
+
7
10
# Ignore bundler config.
8
11
/.bundle
9
12
vendor /bundle
@@ -52,4 +55,4 @@ package-lock.json
52
55
.idea /
53
56
54
57
# sitemap
55
- /public /sitemap.xml.gz
58
+ /public /sitemap.xml.gz
Original file line number Diff line number Diff line change 1
1
# Setup через docker, docker-compose и dip
2
2
3
3
- gem install dip (maybe change .ruby-version file with your ruby ver)
4
- - cd .dockerdev
4
+ - cd .dev_to
5
5
- docker-compose build
6
- - For algolia not to brake setup, paste your keys into ALGOLIASEARCH ENVs in .dockerdev/compose.yml
6
+ - For algolia not to brake setup
7
+ - cp .env-example .env (.env is gitignored)
8
+ - in .env paste your Algolia keys
7
9
- dip provision
8
10
- docker-compose up
9
11
- open localhost:3000 in your browser
10
12
11
13
After setup you can
14
+
12
15
- dip bundle - to bundle install after adding gems
13
16
- dip setup - to rerun bin/setup
14
17
- dip bash - to do any other commands or just to peek around
15
18
16
-
17
-
18
19
# Задание №4
19
20
20
21
## Цели выполнения задания
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ environment:
7
7
8
8
compose :
9
9
files :
10
- - .dockerdev /compose.yml
10
+ - .dev_to /compose.yml
11
11
project_name : dev_to
12
12
13
13
interaction :
You can’t perform that action at this time.
0 commit comments