Commit graph

17 commits

Author SHA1 Message Date
Daniel Uber
c3bfdc585d
Install foreman for procfile and setup appdomain in gitpod (#14612)
* Install foreman for procfile and setup appdomain for csrf in gitpod

Foreman was not installed (so bin/startup would fail fast).

Additionally, the APP_DOMAIN can be fetched from the `gp` utility to
get the url for port 3000

Since the .env file is read top down - it's easier to implement
appending the corrected value than to replace it at the beginning, but
I'm completely open to redoing this via a sed command or similar to
change the variable at the top (this would be less confusing for
anyone else dealing with the file).

* Ensure command executes as a series of commands

TODO: if this works move the echo commands into the setup section

* move .env setup commands to init section
2021-08-27 18:21:07 -05:00
Alex
393ba00221
Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606)
* Attempt number 1

* Fix rack_attack specs

* Fix users_searches_users spec

* Fix display_users_search_spec

* Fix comment typo

* Remove search:destroy task from cypress

* Remove port 9300 from gitpod

* Stub response in attack_spec
2021-05-03 11:09:45 -04:00
Vaidehi Joshi
1531c182cc
Move .env_sample out of /config directory (#9868)
The `.env` file shouldn't live in the `/config` directory when it is created, but
currently, the `.env_sample` file lives within `/config`. This can be confusing and
cause ENV var issues if someone duplicates `.env_sample` and renames it to `.env`,
because none of their ENV variables will get picked up, since their `.env` file will
mistakenly end up in `/config`.

This change moves `.env_sample` out of `/config`, and updates the documentation/relevant
.yml files accordingly.
2020-08-19 18:18:30 +02:00
Molly Struve
0a64ac067b
[deploy] Remove ENVied Gem, Use dotenv Take 2 (#9767) 2020-08-14 12:20:47 -05:00
rhymes
e727956640
Revert "[deploy] Refactor:Remove ENVied Gem, Use dotenv Instead for Test and Development (#9621)" (#9757)
This reverts commit 1be8c72206.
2020-08-12 13:28:38 -04:00
Molly Struve
1be8c72206
[deploy] Refactor:Remove ENVied Gem, Use dotenv Instead for Test and Development (#9621)
* Refactor:Remove ENVied Gem in Favor of Default application.yml

* Copy sample_application.yml for Travis

* Create .env_sample file, Warn of missing ENV variables, ignore .env file

* Use dotenv For ENV variables and create Rake Task to Populate

* Update docs to copy .env_sample file

* make application config a bit more resilient

* update more documentation and only initialize dotenv in dev and test

* Update doc code snippet types and refactor rake task and app config

* remove push defaults

* Make initializers more resilient, remove unused ENV from travis

* Exit new rake task if application.yml does not exist, include dotenv in docs
2020-08-12 11:01:38 -04:00
Cornelius A. Ludmann
603a8b4d7a
Prepare Gitpod setup for prebuilds (#9560)
This commit improves the Gitpod setup. It now allows you to benefit from prebuilds.

Also, Gitpod now waits until the server is ready before opening a preview window.
2020-07-29 10:03:05 -04:00
Molly Struve
4c779be2ed
[deploy] Remove ALL Algolia Code (#7577) 2020-04-29 10:11:57 -05:00
Michael Kohl
741420893a
Add Solargraph gem for Gitpod (#7171) 2020-04-09 15:54:56 +02:00
Michael Kohl
1d069d8ed1
Unset DATABASE_URL in .gitpod.yml (#7059)
* Unset DATABASE_URL in .gitpod.yml

* Only run bin/setup once

* Try alternative approach for unsetting DATABASE_URL

* Update bin/setup

* Consistently use db_url

* Fix bug caused by typo (= instead of ==)
2020-04-03 15:56:43 +02:00
Michael Kohl
54a9aee61a
Add Elasticsearch to GitPod (#6198) [deploy]
* Add Elasticsearch to GitPod

* Add second ES port
2020-02-20 07:37:33 -06:00
Lucas Hiago
c09c65d7bf Fix missing redis server to gitpod configuration (#5528) 2020-01-15 15:12:18 -05:00
derekenos
0690479bb9 Fix Algolia creds documentation URL (#2766) [ci skip] 2019-05-08 10:46:18 -04:00
Mac Siri
4b5622f47b
Config Gitpod's prebuilds [ci skip] 2019-04-25 08:35:38 -04:00
Mac Siri
05b7208871
Update .gitpod.yml [ci skip] 2019-04-25 08:11:27 -04:00
Jan Keromnes
a4484021e8 Ensure Gitpod init always succeeds (#2379) 2019-04-11 12:31:50 -04:00
Jan Keromnes
6bc248e43b Automated DEV setup using Gitpod (#2321) 2019-04-07 17:08:30 -04:00