https://github.com/psmb/boilerplatedistr
Neos boilerplate distribution
https://github.com/psmb/boilerplatedistr
Last synced: 4 months ago
JSON representation
Neos boilerplate distribution
- Host: GitHub
- URL: https://github.com/psmb/boilerplatedistr
- Owner: psmb
- Created: 2015-09-02T09:19:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T19:19:36.000Z (about 8 years ago)
- Last Synced: 2025-01-03T22:48:34.022Z (5 months ago)
- Language: CSS
- Homepage: http://psmb.github.io
- Size: 30.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boilerplate Neos distribution
The idea of this repo is to serve as a boilerplate for all [Neos](https://neos.io) projects that [we](https://psmb.github.io) start. It helps us to save _A LOT_ of times when kickstarting new Neos projects.
**WARNING: Don't use it directly, as it has a lot of code that is specific to our infrastructure! Rather clone and tune it for your own needs.**
## Workflow
1. Create a docker-compose.yml similar to the one listed below and run `docker-compose up -d`
2. Monitor `docker-compose logs web` until you see something like `INFO success: php-fpm entered RUNNING state`. Then go to the website url specified in docker-compose.yml and make sure it works.
3. Go to the location of the code (`data/www/releases/current`) and remove git files with `rm -rf .git`.
4. Edit all files as needed to start new project, create a new git repository and push it to Github when ready. Edit `docker-compose.yml` and `circle.yml` to point to new Github repo. Do the same on production/staging server when ready to go live.## Example docker-compose.yml
```
dbdata:
image: busybox:latest
command: echo dbdata
volumes:
- /var/lib/mysqldb:
image: million12/mariadb:10.2
expose:
- '3306'
volumes_from:
- dbdata
environment:
MARIADB_PASS: passwebdata:
image: busybox:latest
command: echo webdata
volumes:
- ./data:/data
- ./Persistent:/data/www/shared/Data/Persistentweb:
image: dimaip/neos-bare:2.0
ports:
- '80'
links:
- db:db
volumes_from:
- webdata
environment:
VIRTUAL_HOST: 'domain.loc,dev.domain.loc,www.domain.loc'
REPOSITORY_URL: 'https://github.com/psmb/BoilerplateDistr'
SITE_PACKAGE: 'Sfi.Site'
ADMIN_PASSWORD: 'password'ssh:
image: million12/php-app-ssh:php-70
ports:
- '22'
links:
- db:db
- web:web
volumes_from:
- webdata
environment:
IMPORT_GITHUB_PUB_KEYS: dimaip
```