Restructure project folders and remove obsolete files
All checks were successful
Deploy Spot / deploy (push) Successful in 34s
All checks were successful
Deploy Spot / deploy (push) Successful in 34s
This commit is contained in:
20
readme.md
20
readme.md
@@ -3,7 +3,7 @@
|
||||
|
||||
## Dependencies
|
||||
|
||||
* npm 18+
|
||||
* npm 24+
|
||||
* composer
|
||||
* php-mbstring
|
||||
* php-imagick
|
||||
@@ -25,14 +25,18 @@
|
||||
## Getting started
|
||||
|
||||
1. Clone Git onto web server
|
||||
2. composer install
|
||||
3. npm install webpack
|
||||
4. npm run dev
|
||||
5. Update php.ini parameters
|
||||
6. Copy timezone data: mariadb-tzinfo-to-sql /usr/share/zoneinfo | mariadb -u root mysql
|
||||
7. Copy settings-sample.php to settings.php and populate
|
||||
2. Update php.ini parameters
|
||||
3. Copy timezone data: mariadb-tzinfo-to-sql /usr/share/zoneinfo | mariadb -u root mysql
|
||||
4. Copy settings-sample.php to settings.php and populate
|
||||
5. Follow CI/CD script in .gitea/workflows/deploy.yml
|
||||
8. Go to #admin and create a new project, feed & maps
|
||||
9. Add a GPX file named <project_codename>.gpx to /geo/
|
||||
9. Add a GPX file named <project_codename>.gpx to /resources/geo/
|
||||
|
||||
## Web Root
|
||||
|
||||
The web server should serve `public/` as the application document root. PHP source, configuration, Composer dependencies, uploaded files, and GPX data stay outside the public tree; `public/index.php` is the front controller and webpack writes generated frontend assets to `public/assets/`.
|
||||
|
||||
Runtime data is exposed through symlinks only: `public/files -> ../files` and `public/geo -> ../resources/geo`. The build must not copy uploaded media or GPX data into `public/`.
|
||||
|
||||
## Local Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user