troisieme/overdog 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

troisieme/overdog

最新稳定版本:2.1.1

Composer 安装命令:

composer create-project troisieme/overdog

包简介

A Craft CMS scaffolding project

README 文档

README

This Craft CMS starter project is for developers who want to build a website or small web application from a solid foundation based on best practices.

Version

2.1.1

Installation

Navigate to your web projects folder. You can change the last term "overdog" - this will be the name of your project folder.

Create a new project

  composer create-project troisieme/overdog overdog

Install Node.js packages for development and compilation

  yarn install

Set up a new local server host and database

  1. Create a new Host on your local server.
  2. Set up a MySQL database. You can use the username and password as "root/root", as this will never be deployed.
  3. Point this host to the web folder of your project.

Note

If you're using MAMP Pro, make sure "Allow network access to MySQL" is checked in the MySQL tab.

Update certain variables in the .env file

In the .env file located at the root of your project, fill in the following details. You can leave the other variables empty for the time being and configure them later:

  • CRAFT_SYSTEM_NAME — Project name - this will be visible in the Control Panel; enclose it in quotes.
  • SITE_URL — The main development URL of your host (without trailing slash).
  • SITE_GROUP — Name of the locale (language) group. Likely the project name.
  • CRAFT_DB_DRIVER — "mysql"
  • CRAFT_DB_SERVER — "localhost" or "127.0.0.1" (as an example).
  • CRAFT_DB_PORT — Commonly "3306" or "8889".
  • CRAFT_DB_DATABASE — Name of the database you created.
  • CRAFT_DB_USER — Username (possibly "root").
  • CRAFT_DB_PASSWORD — Password (possibly "root").
  • CRAFT_DB_SCHEMA — "public".
  • CRAFT_DB_TABLE_PREFIX — Database table prefix, typically left empty in most scenarios.

Install Craft CMS

In your project folder, execute the following in the terminal.

  php craft setup/welcome

Note

When prompted for the SITE NAME, SITE URL, and LANGUAGE during installation, simply press Enter. Your installation will align with the settings from your .env file. Should you have maintained the default Overdog details in the env file, you'll have the flexibility to adjust them post-installation.

Create a Git repo with your git provider

Set up your project with your provider.

Warning

 Do not check "Initialize repository with a readme"; keep it entirely empty.

Integrate Git with your local project

  1. Add the previously created project folder to your software or terminal to initialize Git (the method may vary slightly depending on the tool you're using).
  2. After the first commit, consider renaming your local branch to "develop".
  3. Add the remote link, ideally using SSH, of the project you set up with your provider.
  4. Make an initial commit on the "develop" branch and push it to create a new "develop" branch on the remote repository.

Documentation

Click here for documentation

统计信息

  • 总下载量: 30
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-12