It's a little site for conference organization.
To launch the project on your local machine, you should have XAMPP installed on your machine. Then you should do the next things.
- Download the archive from GitHub and extract it to
htdocs
folder. Or run your command line, navigate tohtdocs
folder and executegit clone https://github.com/loglinn05/conference
command. - Run your command line and navigate to
src
folder. Installcomposer
and all the dependencies there by executingcomposer install
command. - Create
.env
file insrc
folder. There are five constants defined in it:DB_DRIVER
,DB_HOST
,DB_NAME
,DB_USERNAME
andDB_PASSWORD
.DB_DRIVER
contains the name of your database driver (mysql
in this case),DB_HOST
contains the name of the host where the server is situated (localhost
in this case),DB_NAME
equals a string containing the name of your database (conference
here),DB_USERNAME
is your username (for example,root
) andDB_PASSWORD
is your password (for example, empty password). Remember to replace all the stub values(your_database_driver
,your_server_host
,your_database_name
,your_username
,your_password
) with your own ones. The file should look so:
DB_DRIVER="your_database_driver"
DB_HOST="your_server_host"
DB_NAME="your_database_name"
DB_USERNAME="your_username"
DB_PASSWORD="your_password"
An example of .env
file:
DB_DRIVER="mysql"
DB_HOST="localhost"
DB_NAME="conference"
DB_USERNAME="root"
DB_PASSWORD=""
- Create the database by importing
conference.sql
file fromsql
folder to your server. It will contain all members' data such as their name and surname, bithdate, report subject, country, phone number, e-mail, company in which they work, their position, self-description and a photo that is stored as a binary file. - Run your command line and navigate to
src
folder again. Launch your PHP server by executingphp -S server:port
command. Replaceserver
andport
with your server name and port number accordingly. For example:php -S localhost:9999
. - Type
server:port
(for example,localhost:9999
) into the address bar and try it out.
And so, in conclusion, I want to tell that you can improve the project with me. You can do it this way: if you have noticed an error, please, contact me. My email: loglinn05@gmail.com. I'm looking forward to your feedback!