Skip to content

Trult/windspeaker-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindSpeaker

Create Project

Clone project file

$ git clone {PROJECT URL}
$ cd {PROJECT}
$ composer update

Add SQL account

cp etc/config.dist.yml etc/config.yml
vim config.yml

Import SQL

php bin/console migration status
php bin/console migration migrate

Import test data

php bin/console seed import

Clean test data

php bin/console seed clean

Apache Setting

In Server

<VirtualHost *:80>
DocumentRoot /var/www/windspeaker/www
ServerName windspeaker.co
ServerAlias *.windspeaker.co
</VirtualHost>

In localhsot

We need a localhost VirtualHost to keep localhost still work, otherwise the windspeaker VirtalHost will override localhost.

<VirtualHost *:80>
DocumentRoot /var/www/windspeaker/www
ServerName windspeaker.co
ServerAlias *.windspeaker.co
</VirtualHost>

# Asika
<VirtualHost *:80>
DocumentRoot /var/www
ServerName localhost
</VirtualHost>

Hosts Setting

hosts file dose not support wildcards (*), so we create a record per account.

127.0.0.1 windspeaker.co asika.windspeaker.co simon.windspeaker.co

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.2%
  • CSS 27.1%
  • PHP 9.4%
  • Other 0.3%