Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelodelain/web-starter
website code starter
https://github.com/manuelodelain/web-starter
css javascript sass slimphp starter-kit twig webpack
Last synced: 3 months ago
JSON representation
website code starter
- Host: GitHub
- URL: https://github.com/manuelodelain/web-starter
- Owner: manuelodelain
- Created: 2015-03-26T14:40:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T15:18:46.000Z (about 2 years ago)
- Last Synced: 2024-10-17T19:24:50.335Z (3 months ago)
- Topics: css, javascript, sass, slimphp, starter-kit, twig, webpack
- Language: JavaScript
- Homepage:
- Size: 3.78 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website
## Architecture
- app: server side code
- build: scripts for building the website
- assets: client side sources
- static: files for building the public folder
- node_modules: npm packages (auto generated)
- exports: project exports (auto generated)
- public: public stuff (auto generated)
## Technos
- server side:
- dependencies: Composer
- framework: Slim 3
- templating: Twig 2
- client side:
- dependencies: NPM
- CSS: Sass
- JS: ES6
- build : Webpack / NPM## Installation
### Prerequisites:
PHP 5.5+
- Install composer
- Install Node.js### Setup:
- Install php packages: `composer install`
- Install js packages: `npm install`
## Development
Launch: `npm run dev`
## Deployment
Launch production task for optimizing assets: `npm run prod`
Export a package: `npm run export-dist`
Inside the exports/dist/ folder, there is the exported package with these folders:
- app/
- public/
Push these folders online at the root.Some files are not in the export.
You have to configure them manualy:- public/.htaccess