Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio & Video [VideoTutorial] MyBB 2.0 Install a Development Copy
#2
[ VideoTutorial ] MyBB 2.0 Install a Development Copy with XAMPP
[Image: MyBB2_Logo.png]

Introduction:

thise video tutorial show how install a Development Copy of MyBB 2.0. with XAMPP
hope thise video can help to the new developments or increased yours skills.

Video:




Glossary:

XAMPP: XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and deployment purposes.  

Git: it is a software of version control thinking about the efficiency and the trustworthiness of the maintenance of versions of applications when these have a great number of source code archives.


Summary of Steps to install Development Copy of MyBB2 :

1. Install XAMPP 
2. Download the project MyBB2 via Clone GitHub
3. extract the Download file to the Roots of XAMPP and put it in htdocs/mybb2 roots Xampp:
Code:
/Applications/XAMPP/xamppfiles/htdocs/mybb2

4. Change the DataBase details in /config/database.php
Root XAMPP Example/Applications/XAMPP/xamppfiles/htdocs/mybb2/config/database.php

Note:In the default installation, XAMPP has no passwords set and it is not recommended to run XAMPP, depend of your configuration, in that example its:
Quote:'mysql' => [
      'driver' => 'mysql',
      'host' => env('DB_HOST', 'localhost'),
      'port' => env('DB_PORT', '3306'),
      'database' => env('DB_DATABASE', 'mybb3'),
      'username' => env('DB_USERNAME', 'root'),
      'password' => env('DB_PASSWORD', ''),
      'charset' => 'utf8',
      'collation' => 'utf8_unicode_ci',
      'prefix' => '',
      'strict' => false,
      'unix_socket'   => '/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock'

5. Change the DataBase details in the .env file
Note: You Must Create the File with your Terminal 
Example: sudo nano .env
Quote:APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString

DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=mybb3
DB_USERNAME=root
DB_PASSWORD=
DB_UNIX_SOCKET=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock

CACHE_DRIVER=file
SESSION_DRIVER=file


6. Set Your SSH Key: change to you email
Code:
ssh-keygen -t rsa -C you@homestead


7. Give write permissions to the storage/ directory [MyBB2 Folder Root]

Code:
chmod -R 777 storage/


8. Install Composer Dependencies

Code:
composer install


9. Check the .env file its Correct with the /config/database.php information
Code:
cp .env.example .env
vim .env


10. Publish assets by packages

Code:
php artisan vendor:publish


11. Install migrations table and run migrations
Code:
 php artisan migrate:install
 php artisan migrate


12. [Optional] Add Debug Data [aka Seeds]

Code:
php artisan db:seed


Now, The setting with XAMPP and MyBB2 its ready to used and test

Open your Browser and type: Localhost/mybb2/:8000  

MyBB2 its in Development, Not to be used on live boards!

Resume on Terminal

Quote:DiegoPino:mybb23 diegopino$ php artisan vendor:publish
Copied Directory [/vendor/mybb/parser/resources/lang] To [/resources/lang/vendor/parser]
Copied Directory [/vendor/mybb/parser/resources/config] To [/config/parser.php]
Copied Directory [/vendor/mybb/parser/resources/migrations] To [/database/migrations]
Copied Directory [/vendor/mybb/settings/src/database/migrations] To [/database/migrations]
Publishing complete for tag []!
DiegoPino:mybb23 diegopino$ php artisan migrate:install

DiegoPino:mybb23 diegopino$ php artisan migrate:install
Migration table created successfully.
DiegoPino:mybb23 diegopino$ php artisan migrate
Migrated: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_100000_create_password_resets_table
Migrated: 2015_02_06_193129_create_forums_table
Migrated: 2015_02_06_193135_create_posts_table
Migrated: 2015_02_06_193141_create_topics_table
Migrated: 2015_02_12_025505_create_roles_table
Migrated: 2015_02_12_025520_create_permissions_table
Migrated: 2015_02_12_025532_create_permission_role_table
Migrated: 2015_02_14_220949_add_num_posts_to_topics_table
Migrated: 2015_02_16_164601_create_parser_badwords_table
Migrated: 2015_02_16_164601_create_parser_mycode_table
Migrated: 2015_02_16_164601_create_parser_smilies_table
Migrated: 2015_02_24_131001_create_user_settings_table
Migrated: 2015_02_26_122601_create_confirmations_table
Migrated: 2015_02_26_133000_add_last_visit_to_users_table
Migrated: 2015_02_26_153000_add_num_posts_to_users_table
Migrated: 2015_02_26_153000_soft_delete_to_posts_table
Migrated: 2015_02_27_135400_add_guest_posting
Migrated: 2015_03_06_110928_create_settings_table
Migrated: 2015_03_06_110933_create_setting_values_table
Migrated: 2015_03_06_121600_create_searchlog_table
Migrated: 2015_03_06_174600_add_last_page
Migrated: 2015_03_07_143000_fix_guest_searching
Migrated: 2015_03_07_213700_remove_user_settings
Migrated: 2015_03_07_220139_remove_is_user_setting_from_settings_table
Migrated: 2015_03_15_144612_create_user_activity_table
Migrated: 2015_03_16_220356_create_session_table
Migrated: 2015_03_16_231829_create_profile_fields_table
Migrated: 2015_03_16_232644_create_profile_field_options_table
Migrated: 2015_03_16_232844_create_user_profile_fields_table
Migrated: 2015_03_19_190100_create_polls_table
Migrated: 2015_03_19_211900_create_poll_votes_table
Migrated: 2015_03_21_114200_add_mybb_captcha
Migrated: 2015_03_23_213855_create_profile_field_group_table
Migrated: 2015_03_29_103911_create_likes_table
Migrated: 2015_03_29_145952_add_num_likes_to_users_table
Migrated: 2015_03_29_145958_add_num_likes_to_posts_table
Migrated: 2015_04_03_143500_remove_role_id_from_users
Migrated: 2015_04_03_143501_create_role_user_pivot_table
Migrated: 2015_04_03_143502_modify_permissions_table
Migrated: 2015_04_03_143503_modify_permission_role_table
Migrated: 2015_04_05_120800_create_content_class_table
Migrated: 2015_04_07_132222_add_approved_to_posts_and_topics
Migrated: 2015_04_12_140000_create_conversation_table
Migrated: 2015_04_12_140001_create_conversation_messages_table
Migrated: 2015_04_12_140002_create_conversation_user_table
Migrated: 2015_04_17_113600_remove_unique_slug
Migrated: 2015_04_18_172533_add_closed_to_topics_and_forums_tables
Migrated: 2015_08_03_213002_create_moderation_log_tables
DiegoPino:mybb23 diegopino$ php artisan dbConfusedeed
Seeded: ContentClassTableSeeder
Seeded: UsersTableSeeder
Seeded: RolesTableSeeder
Seeded: RoleUserTableSeeder
Seeded: PermissionsTableSeeder
Seeded: PermissionRoleTableSeeder
Seeded: ForumsTableSeeder
Seeded: TopicsTableSeeder
Seeded: PostsTableSeeder
Seeded: UserSettingsTableSeeder
Seeded: SettingsTableSeeder
Seeded: ProfileFieldsTableSeeder
DiegoPino:mybb23 diegopino$ ls
CONTRIBUTING.md bootstrap database phpspec.yml storage
LICENSE bower.json git-hooks phpunit.xml tests
README.md composer.json gulpfile.js public vendor
app composer.lock package.json resources
artisan config phpcs.xml server.php


Anexo: Image 
[Image: mybb2-xampp-image.png]

Links Soporte:
Reply


Messages In This Thread
RE: [VideoTutorial] MyBB 2.0 Install a Development Copy - by DiegoPino - 07-02-2016, 04:02 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
Lightbulb
Tutorial
 Install and config Redis on Mac OS X via Homebrew
nala-pino 0 235 08-03-2016, 11:15 PM
Last Post: DiegoPino
Bug
Tutorial
 [ Tutorial ] Plugin MyBB Base & Plugin MySql
nala-pino 0 1,720 11-20-2015, 01:36 AM
Last Post: DiegoPino
Facebook Comments 

Forum Jump:


Users browsing this thread: 1 Guest(s)