18 Commits

Author SHA1 Message Date
Rodrigo Primo
68d6099eb3 Fix a syntax issue in .env.sample
The .env.sample file contained a few comments using `//`. The problem is
that `//` is not supported by vlucas/phpdotenv and this was resulting in
the following fatal error when following the dev environment setup
instructions and running `./do install`:

```
ERROR: Uncaught Dotenv\Exception\InvalidFileException: Failed to parse dotenv file due to unexpected whitespace. Failed at ["" // URL of your site (used for multisite env and equals to DOMAIN_CURRENT_SITE from wp-config.php)]. in /srv/www/mailpoet/public_html/wp-content/plugins/mailpoet/vendor/vlucas/phpdotenv/src/Parser.php:148
```

To fix this problem, this commit replaces all instances of `//` in
.env.sample with the `#` (see
https://github.com/vlucas/phpdotenv#comments).

Quick test show that `//` doesn't work and `#` does:

```
>>> Dotenv\Dotenv::parse("FOO=Bar // some comment")
Dotenv\Exception\InvalidFileException with message 'Failed to parse dotenv file. Encountered unexpected whitespace at [Bar // some comment].'
>>> Dotenv\Dotenv::parse("FOO=Bar # some comment")
=> [
     "FOO" => "Bar",
   ]
```
2021-01-18 12:24:25 +01:00
Jan Jakeš
288b5bf6ca Add info about release tokens to .env.sample
[MAILPOET-1977]
2019-04-24 16:22:45 -04:00
Rostislav Wolny
745198e406 Add Robofile commands for changelog update and get
[MAILPOET-1770]
2019-02-08 12:20:23 -05:00
Rostislav Wolny
cfcba021b1 Merge WP_ROOT and WP_TEST_PATH environment vars
[MAILPOET-1605]
2018-11-01 14:46:38 +01:00
Rostislav Wolny
9eb586b8e6 Add ./do container:dump command and run it within build
[MAILPOET-1605]
2018-10-31 17:49:15 +01:00
Amine Ben hammou
4cae2a7d2d adding comments to .env.sample 2018-10-10 11:49:06 +02:00
Pavel Dohnal
d7b2cfd759 Remove unused API keys
[MAILPOET-1544]
2018-10-02 11:11:56 +02:00
Vlad
b50b636371 Adds multisite test environment to CI
Adds Robo command to run multisite tests locally and on CI
2017-11-21 12:24:18 -05:00
Alexey Stoletniy
1cd7c5e876 Update README, force translations downloading, set shell script permissions [MAILPOET-849] 2017-03-13 19:34:17 +03:00
Alexey Stoletniy
dfa13726e7 Add force mode to svn:publish command, add svn:checkout command 2016-12-15 16:20:12 +03:00
Vlad
c43d2f240d - Updates MailChimp test and .env.sample 2016-02-05 09:35:32 -05:00
Vlad
bbcd267b6f - Updates .env.sample with available options for unit tests 2016-02-05 09:00:28 -05:00
marco
2edc499a6a Remove unused variables acceptance related from env. 2015-10-14 15:58:23 +02:00
MrCasual
8f52e7523d Added the accidentally removed .env.sample 2015-08-10 20:08:44 -04:00
Vlad
27c2a4b402 Fixes #49 2015-08-10 18:35:47 -04:00
Jonathan Labreuille
2c73ab9c5f added WP env to unit tests - migrated form widget and form renderer + need orm to finish widget implementation as it relies on forms 2015-07-27 17:40:47 +02:00
Jonathan Labreuille
b10edea821 added user and password in dot env file + updated activation acceptance test - fixing issue #18 2015-07-24 16:52:58 +02:00
marco
f5cb2467ea Add .env support. 2015-07-21 18:20:38 +02:00