Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change thelia version + small fixes (typos) #11

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/getting_started/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ If you want to use **docker** please follow [this](./docker) way.

### Download the project

Rename `YourPorject` with the name of your project. Be aware of the version you want to install (here `2.5.4`) :
Rename `YourProject` with the name of your project. Be aware of the version you want to install (here `2.5.4`) :

```bash
composer create-project thelia/thelia-project YourProject 2.5.4
composer create-project thelia/thelia-project YourProject 2.5.5
```

You can say `yes` for the recipes.
Expand Down Expand Up @@ -124,7 +124,7 @@ yarn build
Clear the cache to ensure all changes are applied.

```bash
rm -rf ./cache
rm -rf ./var/cache
php Thelia assets:install web
```

Expand Down
15 changes: 11 additions & 4 deletions docs/getting_started/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: Dockerize your Thelia
sidebar_position: 6
---

A docker configuration is provided in the repository of Thelia. It uses docker-compose.
A docker configuration is provided in the repository of Thelia. It uses docker compose.

It requires obviously [docker](https://docker.com/) and [docker-compose](http://docs.docker.com/compose/)
It requires obviously [docker](https://docker.com/) and [docker compose](http://docs.docker.com/compose/)

## Get the project

Expand All @@ -21,6 +21,13 @@ You can download the archive from official [releases pages](https://github.com/t

> ⚠️ **Important** : First, copy and paste content from file `.env.docker` to `.env` file.
Change default values if needed, but default values should work. You should overrides default values with a `.env.local` file.
> Then, add the following line to your `.env` file :
> ```
> MYSQL_DATABASE=thelia
> MYSQL_ROOT_PASSWORD=root
> MYSQL_USER=thelia
> MYSQL_PASSWORD=thelia
> ```


Then execute this command from the root path of the project :
Expand All @@ -36,7 +43,7 @@ Your website should be accessible here, but not yet installed : [http://localhos
To be able to run PHP command, you first need to execute this if you need :

```
docker-compose exec php-fpm bash
docker compose exec php-fpm bash
```

You will be inside the php docker container. From here, you have to follow the classic installation process of Thelia ( cf: [installation page](/docs/getting_started/Installation) )
Expand Down Expand Up @@ -90,4 +97,4 @@ docker compose down --remove-orphans
All the configuration can be customize for your own project. It uses the official [php image](https://hub.docker.com/_/php/) provided by docker so you can change the php version as you want.
You can also install all the extension you want.

Each time you modify the configuration, you have to rebuild the containers : ```docker-composer build --no-cache```
Each time you modify the configuration, you have to rebuild the containers : ```docker composer build --no-cache```
Loading