Share:
Composer Method in Craft CMS
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.a.jpg&w=3840&q=75)
Manual Method to setup Craft CMS
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.b.jpg&w=3840&q=75)
Step 1: Setting up permissions
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.c.jpg&w=3840&q=75)
- If they are the same user, use 744.
- If they’re in the same group, then use 774.
- If you’re not sure, then use 777.
Step 2: Securing the project with a security key
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.d.jpg&w=3840&q=75)
Setting the security key with terminal
Run the following command in your project’s root directory: ./craft setup/security-key.Step 3: Creating a database
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.e.jpg&w=3840&q=75)
- For MySQL Default Character Set: utf8 Default Collation: utf8_unicode_ci
- For PostgreSQL Character Set: UTF8
Step 4: Setting up a web server
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.f.jpg&w=3840&q=75)
- For macOS/Linux/Unix: /etc/hosts
- For Windows: \Windows\System32\drivers\etc\hosts
Step 5: Running the setup
![](/_next/image?url=https%3A%2F%2Fwww.galaxyweblinks.com%2Fwp-content%2Fuploads%2F2023%2F01%2F2.g.jpg&w=3840&q=75)