Skip to content

Commit c9e425d

Browse files
committed
Added running in Apache section to the configuration inside the README
1 parent cdb4d14 commit c9e425d

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,20 @@ return [
7474
- Check and edit the other files in the `config/` directory to customize your application as required.
7575
- Refer to the README in the `tests` directory for information specific to basic application tests.
7676

77+
### Running in Apache
78+
79+
Edit the Apache configuration file, this can be found in ```/etc/apache2/apache2.conf```
80+
81+
Inside the security model section make sure to change the AllowOverride option from **None** to **All**
82+
so it looks like this
83+
```
84+
<Directory /var/www/>
85+
Options Indexes FollowSymLinks
86+
AllowOverride All
87+
Require all granted
88+
</Directory>
89+
```
90+
7791
DIRECTORY STRUCTURE
7892
-------------------
7993

@@ -111,8 +125,8 @@ To extract your app messages you can do so using the [message command](https://w
111125

112126
```./yii message messages/config-messages.php```
113127

114-
To scan the tree 'sourcePath' to generate files default for labels used in the code execute the follow command
115-
```./yii message/extract @app/config/i18n.php ```
128+
To scan the tree 'sourcePath' to generate files default for labels used in the code execute the following command
129+
```./yii message/extract @app/messages/config-messages.php ```
116130

117131
To change target lenguage for example to spanish use
118132
```Yii::$app->language = 'es';```

init

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,8 @@ function formatMessage($message, $styles)
307307
// TODO check .yml files and git attributes and bowerrc
308308
// TODO Set up testing according to business
309309
// TODO Set up automatic API Docs
310-
// TODO Set up i18n accoding to https://www.yiiframework.com/doc/guide/2.0/en/tutorial-i18n
311-
// TODO Set up environments configuration
312-
// TODO Set up and fix console and migrations instructions
310+
// TODO Set up and fix environments configuration
313311
// TODO Fix common / models
314312
// TODO Add CORS config to readme
315313
// TODO Add components description and ussage
314+
// TODO Create basic auth endpoints

0 commit comments

Comments
 (0)