Skip to content

Commit 3566743

Browse files
committed
feat: add composer create + begin collections
1 parent fa281b2 commit 3566743

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
This documentation page about collections feature will be available later...
1+
# Collections
2+
3+
Collections are a way to group related items together for easier management and access. They can be used to organize content, products, or any other type of data that needs to be categorized.
4+
5+
Collections can be created, edited, and deleted by admin users.
6+
7+
A collection can contain multiple items, named Records.
8+
9+
Records can be added to or removed from a collection as needed.
10+
11+
---
12+
13+
__This documentation page about collections feature will be completed later...__

content/for-developers/install-start.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
## Create new project
44

5+
### With Composer
6+
7+
You can create a new Fastfony project using Composer. We recommend creating a new development project on a local development machine and follow the [Go to production](for-developers/go-to-production) instructions to deploy it on a production server.
8+
9+
With this method, no Git repository is created by default. You can initialize a Git repository later if needed.
10+
11+
1. Open your terminal and navigate to the directory where you want to create your Fastfony project.
12+
2. Run the following command to create a new Fastfony project:
13+
```bash
14+
composer create-project fastfony/fastfony your-project-name
15+
```
16+
Replace `your-project-name` with the desired name for your project directory.
17+
3. Navigate to the newly created project directory:
18+
```bash
19+
cd your-project-name
20+
```
21+
22+
### or with Github template
23+
524
We recommend creating a new development project on a local development machine and follow the [Go to production](for-developers/go-to-production) instructions to deploy it on a production server.
625

726
1. Go on [Fastfony Github template link ](https://github.com/new?template_name=fastfony&template_owner=fastfony) in order to create your own repository from the template.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Specific things
22

33
- Translation files are not in `./translations` directory but in `./assets/locales` directory in order to use [vue-i18n](https://vue-i18n.intlify.dev/) and symfony translation component. We try to apply [php-translation best practices](https://php-translation.readthedocs.io/en/latest/best-practice/index.html).
4-
- In directories `pro` or `Pro` you can find the pro features of Fastfony. You can use them if you have a license. If you don't have a license, you can use only in development mode.
4+

0 commit comments

Comments
 (0)