Skip to content

erettsegik/erettsegik.hu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. Create a config.php file in the root directory with the database configuration:
<?php

$config['db'] = array(
    'host'     => "localhost",
    'username' => "newuser",
    'password' => "password",
    'dbname'   => "erettsegik",
    'charset'  => 'utf8'
  );

For creating users in MySQL, see this link.

  1. Create the database
mysql> create database erettsegik;
$ mysql -u newuser -p erettsegik < schema.sql
  1. Install composer dependencies
$ composer install
  1. Run the local PHP server
$ php -S localhost:8000