Skip to content

Commit 6674bec

Browse files
committed
docs: move composer install instructions to setup/install.md (#75)
1 parent 9347f8e commit 6674bec

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

architecture/using-composer.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,10 @@ Using [Composer](https://getcomposer.org/) as an alternative package manager to
1111

1212
Composer is the de-facto standard for package management in the PHP ecosystem, and can handle the downloading, installation and management of Winter CMS plugins and themes, as well as third-party Laravel packages and vendor libraries.
1313

14+
```markdown
1415
## Installing Winter via Composer
1516

16-
Installing Winter via Composer is easy. You can use the `create-project` command through Composer to quickly set up a new Winter installation.
17-
18-
```bash
19-
composer create-project wintercms/winter <your installation directory> [version]
20-
21-
# Example:
22-
# composer create-project wintercms/winter mywinter
23-
# or
24-
# composer create-project wintercms/winter ./ "dev-develop"
25-
```
17+
For basic installation instructions using Composer, please refer to the [Installation via Composer](../setup/install.md) section.
2618

2719
### Configuring Winter
2820

setup/install.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Installation via Composer
2+
3+
You can install Winter CMS using Composer by running the following commands:
4+
5+
```bash
6+
composer create-project wintercms/winter example.com "dev-develop"
7+
php artisan winter:env
8+
php artisan winter:up
9+
```
10+
11+
This will install Winter CMS, create an environment file, and set up the database with a default admin account.

0 commit comments

Comments
 (0)