Skip to content

phoenix-gi/weblex-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weblex-test

My solution of test task for WebleX company

Steps to run

    1. Install npm modules
    1. Run webpack to build sources
    1. Initialize MySQL database
    1. Run server

1. How to install npm modules

  • Just run install node modules command:
$ npm install

2. How to build

  • Just run webpack:
$ npm run webpack

3. How to initialize MySQL database

  • First, set MySQL login and password in file src/php/settings.php

  • Then rebuild project (run webpack)

  • Then run via php file src/php/init.php

$ php build/init.php

Note: don't use root mysql user, create another user with some password

Warning: create your user properly and everything will work

4. How to run server

$ php -S localhost:8080 build/server.php

About

My solution of test task for Weblex company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published