https://github.com/gocom/textpattern-project-template
Textpattern CMS project template using Docker
https://github.com/gocom/textpattern-project-template
Last synced: 29 days ago
JSON representation
Textpattern CMS project template using Docker
- Host: GitHub
- URL: https://github.com/gocom/textpattern-project-template
- Owner: gocom
- License: mit
- Created: 2022-04-22T21:22:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T18:15:53.000Z (about 3 years ago)
- Last Synced: 2025-01-26T11:08:27.422Z (over 1 year ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Textpattern CMS project template
=====
Work in progress. Only meant for local development and testing usage. Contains basic frontnend build
environment built around webpack and LESS, and few base Textpattern plugins such as rah_autoload,
which allow autoloading and extending the backend with Composer packages and libraries.
Services
-----
Once installed, different local services can be found at:
* Texpattern CMS: [https://projectname.test/](https://projectname.test/)
* Mailhog: [https://mailhog.projectname.test/](https://mailhog.projectname.test/)
* phpmyadmin: [https://phpmyadmin.projectname.test/](https://phpmyadmin.projectname.test/)
Install
-----
To set up the project, run:
```shell
$ make install
```
If you want, the project's configuration can be customized, before running the setup, through a `.env` file. If the
file does not exist yet in the project root directory, you can initialize one by running:
```shell
$ make create-env
```
### Set up hosts mapping
After setting up, run the following and add the printed mapping output to your `/etc/hosts` file:
```shell
$ make hosts
```
This will allow you to access the project by the domain defined in the project's `.env` file.
### Set up self-signed root certificate
The project generates self-signed certificates during the setup to offer HTTPS for the local Saleor installation. To
make sure the self-signed works in your OS and web browser, add the `certificates/root-ca.pem` file to your Browser's
or OS's trusted root certificates.
Development
-----
To start installed project, run:
```shell
$ make start
```
To stop:
```shell
$ make stop
```
To uninstall:
```shell
$ make clean
```
For list of all available commands, run:
```shell
$ make help
```