Skip to content

Commit

Permalink
Rename to project-base
Browse files Browse the repository at this point in the history
  • Loading branch information
stian-overasen committed Nov 13, 2019
1 parent 933fe94 commit 9cb1bce
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 20 deletions.
13 changes: 5 additions & 8 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Teft Base
# Dekode Project Base

![Packagist](https://img.shields.io/packagist/v/dekodeinteraktiv/teft-base.svg) ![PHP from Packagist](https://img.shields.io/packagist/php-v/dekodeinteraktiv/teft-base.svg)

Teft Base is based on Bedrock, a modern WordPress stack that helps you get started with the best development tools and project structure.
Dekode Project Base is based on Bedrock, a modern WordPress stack that helps you get started with the best development tools and project structure.

Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](http://12factor.net/) methodology including the [WordPress specific version](https://roots.io/twelve-factor-wordpress/).

Expand All @@ -24,7 +24,7 @@ Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](htt

1. Create a new project in a new folder for your project:

`composer create-project dekodeinteraktiv/teft-base your-project-folder-name`
`composer create-project dekode/project-base your-project-folder-name`

2. Update environment variables in `.env` file:
* `DB_NAME` - Database name
Expand Down Expand Up @@ -52,22 +52,19 @@ Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](htt

1. Create a new site in the Local app using Custom settings.

Note that if you use preferred settings, the setup script will fail because preferred does not create the `/conf` folder required by teft-base.
Note that if you use preferred settings, the setup script will fail because preferred does not create the `/conf` folder required by project-base.

2. `cd` to the site app folder and `rm -rf public` to remove the `/public` folder automatically generated by Local.

3. While in the `/app` folder, clone Teft Base using `git clone [email protected]:DekodeInteraktiv/teft-base.git .`.
3. While in the `/app` folder, clone Dekode Project Base using `git clone [email protected]:DekodeInteraktiv/project- base.git .`.

4. Restart the site in Local.

5. Follow the normal installation instructions.

## Deploys

`composer install` must be run as part of the deploy process.

See the CodeShip project [DekodeInteraktiv/teft-base](https://app.codeship.com/projects/294819) for up-to-date details.

## Documentation

Bedrock documentation is available at [https://roots.io/bedrock/docs/](https://roots.io/bedrock/docs/).
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Project name

If you are looking for instructions on how to use and install teft-base, please refer to the file [INSTALLATION.md](./INSTALLATION.md)
If you are looking for instructions on how to use and install project-base, please refer to the file [INSTALLATION.md](./INSTALLATION.md)

Short summary of the main functionality and purpose of the project.

## Made by

List the people who have been extensively involved in creating this website

## How to build

List any steps necessary to get this project up and running on a local machine. This could consist of, but is not limited to, these points:
Expand Down Expand Up @@ -37,7 +37,7 @@ Any constants be it PHP or Javascript that need to be set, and whether these con
Add a link to any relevant documentation, and specify which version of an API we use.

**Authorization**
Add some words about how the third-party server authenticates incoming requests and add any API-keys necessary.
Add some words about how the third-party server authenticates incoming requests and add any API-keys necessary.

**Any terminal commands that could be useful**
Any custom made wp-cli commands which communicate with the third party, should be documented here. Also a link to any commands included in plugins which comunicate with the third-party, should be included.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "teft/base",
"name": "dekode/project-base",
"type": "project",
"license": "GPL-3.0-or-later",
"description": "Dekode WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure",
Expand Down
2 changes: 1 addition & 1 deletion config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Development Environment
*
* @package Teft
* @package Dekode
*/

declare( strict_types = 1 );
Expand Down
2 changes: 1 addition & 1 deletion config/environments/development.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Development Environment
*
* @package Teft
* @package Dekode
*/

declare( strict_types = 1 );
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Production Environment
*
* @package Teft
* @package Dekode
*/

declare( strict_types = 1 );
Expand Down
2 changes: 1 addition & 1 deletion config/environments/staging.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Staging Environment
*
* @package Teft
* @package Dekode
*/

declare( strict_types = 1 );
Expand Down
2 changes: 1 addition & 1 deletion public/content/mu-plugins/register-theme-directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Author URI: https://roots.io/
* License: MIT License
*
* @package Teft
* @package Dekode
*/

declare( strict_types = 1 );
Expand Down
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* WordPress view bootstrapper.
*
* @package Teft
* @package Dekode
*/

declare( strict_types = 1 );
Expand Down

0 comments on commit 9cb1bce

Please sign in to comment.