numbers / skeleton
Skeleton Application for Numbers Framework
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Makefile
Requires
- php: >=8.1.0
- dev-master
- 1.0.49
- 1.0.48
- 1.0.47
- 1.0.46
- 1.0.45
- 1.0.44
- 1.0.43
- 1.0.42
- 1.0.41
- 1.0.40
- 1.0.39
- 1.0.38
- 1.0.37
- 1.0.36
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2025-03-09 18:33:08 UTC
README
Installation Instructions
-
Create a new project:
composer create-project --no-install numbers/skeleton [project directory]
Note: Composer must be installed on your system. Note: We skip vendor directory here by using --no-install option;
-
Build application:
Navigate to [project directory] and run following command:
make build
Note: By default application will be complied to run in production mode. You can use "make deployment_development" to compile it in development mode.
-
Setup host:
3.1) For single host applications add an entry to /etc/hosts like:
127.0.0.1 [your domain]
3.2) For multi host application you need to install "dnsmasq" and add an entry to dnsmasq.conf file as follows:
address=/.[your domain]/127.0.0.1 Note: For development you can add entry to process all domains that ends with .local: address=/.local/127.0.0.1
-
Setup Apache:
4.1) Take [project directory]/conf/dev/vhosts.000.general.conf as a template and put it to apache configuration folder;
4.2) Take [project directory]/conf/dev/vhosts.100.your_domain.conf as a template and replace [your domain] with your domain, adjust directories as per your system and put it to your apache configuration folder;
4.3) Restart Apache
-
Create database and promote schema changes:
Framework provides two options to promote schema changes to database:
5.1) Direct schema changes, available commands: make schema_test make schema_commit make schema_drop
5.2) Migrations, available commands: make migration_code_test make migration_code_commit make migration_code_drop make migration_db_test make migration_db_commit make migration_db_rollback
Note: If you want to have migrations as mandatory promotion method you can set following setting in environment.ini file:
application.structure.db_migration = 1 In this case you cannot run schema commands and vise versa.
Note: you need to navigate to [project directory] to run make commands.
-
Run your application in a browser and enjoy.