Skip to content

Panel Setup

Jorge Matricali edited this page Jan 28, 2020 · 4 revisions

Requirements

  • PHP >= 7.0
  • pdo
  • pdo_mysql
  • gd
  • mcrypt

1. Install webserver

  • Install your preferred LAMP environment.
  • Install PhpMyAdmin because we are lazy (thank me later)

2. Database configuration

  • Make a database named uboat.
  • Make a database user.
  • Now import uboat.sql in PhpMyAdmin into the database uboat you created.
  • Now import geolocation.sql.gz in PhpMyAdmin into the database uboat you created.

3. Panel configuration

3.1 Locate /Panel/src/config/config.php

  1. Now edit it the base URL http://localhost/ according to your needs.
  2. Edit database configuration
  • username - Your MySQL user you created earlier in step 2.2
  • password - Your MySQL password you created earlier in step 2.2
  • host - Your MySQL database server, leave localhost if you're running your database server locally.
  • dbname - It's the database you created earlier in step 2.1

3.2 Create administrator user

Now choose a user/password credential for the login

  • Say for example :-
  1. user :- root
  2. password :- root Kay ?
  • For generating the password locate to /Panel/test.php

You can change the keyword root to your desired password We are using root since we chose to here :p

You are almost done !!

  • Now open PhpMyAdmin and locate the table user in the database you created uboat
  • Change the hash in the password column

** Yay everything done **

Once you login you'll get something like this