A website Skeleton for creating a spout app and contributing to the project.
git clone [email protected]:mackstar/Spout-Site.git
cd Spout-Site
composer install
rm -rf vendor/mackstar/spout
composer install --prefer-source
./vendor/bin/spout install -e dev
php -S localhost:8080 -t var/www var/www/index.php
curl -XPOST 'http://localhost:8080/api/users/index' -d '{
"email": "[email protected]",
"password": "secret",
"name": "Your Name",
"role": {
"id": "1",
"name": "Admin"
}
}';
http://localhost:8080/spoutadmin
The following compliles and transports your JS/CSS
cd vendor/mackstar/spout
npm install
grunt watch
vendor/mackstar/spout/dist/spout-admin