diff --git a/config/.env_sample b/.env_sample similarity index 100% rename from config/.env_sample rename to .env_sample diff --git a/.gitpod.yml b/.gitpod.yml index 6376f0fcb..3e081f489 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -21,7 +21,7 @@ tasks: redis-server & /home/gitpod/elasticsearch-7.5.2/bin/elasticsearch & init: > - cp config/.env_sample .env && + cp .env_sample .env && gem install solargraph && bin/setup command: > diff --git a/.travis.yml b/.travis.yml index 1caee957b..4cdc00807 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ install: true script: - date --rfc-3339=seconds - nvm install - - cp config/.env_sample .env + - cp .env_sample .env - pkill -9 -f elasticsearch || true - curl -s -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.2-amd64.deb - sudo dpkg -i --force-confnew elasticsearch-7.5.2-amd64.deb diff --git a/docs/getting-started/config-env.md b/docs/getting-started/config-env.md index d7e34ec6b..1f402ddee 100644 --- a/docs/getting-started/config-env.md +++ b/docs/getting-started/config-env.md @@ -11,11 +11,11 @@ The [backend guide][backend_guide] will show you how to get free API keys for additional services that may be required to run certain parts of the app. To set up keys for your local instance of Forem, you'll need to create an `.env` -file. You can do this by copying the file called `.env_sample` in the `config` +file. You can do this by copying the file called `.env_sample` in the app's main directory: ```shell -cp config/.env_sample .env +cp .env_sample .env ``` Then, add each key you need to the `.env` file. For example, if you're setting diff --git a/docs/installation/containers.md b/docs/installation/containers.md index 5ca6283ff..e956ff920 100644 --- a/docs/installation/containers.md +++ b/docs/installation/containers.md @@ -68,8 +68,7 @@ with Podman. You can install it by following these - For any key that you wish to enter/replace: 1. Create `.env` by copying from the provided template (i.e. with bash: - `cp config/.env_sample .env`). This is a personal file that is ignored - in git. + `cp .env_sample .env`). This is a personal file that is ignored in git. 1. Obtain the development variable and apply the key you wish to enter/replace. i.e.: diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 171e37466..8be5d9a96 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -98,8 +98,7 @@ NOTE: Make sure to download **the OSS version**, `elasticsearch-oss`. - For any key that you wish to enter/replace: 1. Create `.env` by copying from the provided template (i.e. with bash: - `cp config/.env_sample .env`). This is a personal file that is ignored - in git. + `cp .env_sample .env`). This is a personal file that is ignored in git. 1. Obtain the development variable and apply the key you wish to enter/replace. i.e.: diff --git a/docs/installation/mac.md b/docs/installation/mac.md index b3442abeb..443845d5d 100644 --- a/docs/installation/mac.md +++ b/docs/installation/mac.md @@ -218,8 +218,7 @@ your local Elasticsearch installation, for example: - For any key that you wish to enter/replace, follow the steps below. 1. Create `.env` by copying from the provided template (i.e. with bash: - `cp config/.env_sample .env`). This is a personal file that is ignored - in git. + `cp .env_sample .env`). This is a personal file that is ignored in git. 2. Obtain the development variable and apply the key you wish to enter/replace. i.e.: diff --git a/docs/installation/windows.md b/docs/installation/windows.md index d6c0b7b2f..9734b214b 100644 --- a/docs/installation/windows.md +++ b/docs/installation/windows.md @@ -255,8 +255,7 @@ To install Elasticsearch perform the following steps: - For any key that you wish to enter/replace: 1. Create `.env` by copying from the provided template (ie. with bash: - `cp config/.env_sample .env`). This is a personal file that is ignored - in git. + `cp .env_sample .env`). This is a personal file that is ignored in git. 1. Obtain the development variable and apply the key you wish to enter/replace. ie: