Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matcho/rebus-helper
Helps builing rebus using images search, displays rebus
https://github.com/matcho/rebus-helper
Last synced: 7 days ago
JSON representation
Helps builing rebus using images search, displays rebus
- Host: GitHub
- URL: https://github.com/matcho/rebus-helper
- Owner: matcho
- License: gpl-3.0
- Created: 2019-11-11T11:19:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T11:37:37.000Z (almost 2 years ago)
- Last Synced: 2023-03-07T08:25:38.043Z (almost 2 years ago)
- Language: TypeScript
- Size: 1.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rebus-helper
Helps building rebus using images search, displays rebus# requirements
A Google custom search engine for images, with an API key (see https://cse.google.com/cse/all)
# install
## api
copy `api/config.example.php` to `api/config.php` and adjust config valuescomposer install
## app
copy `src/config.example.ts` to `src/config.ts` and adjust config valuesnpm install
### dev server
ng serve
### prod deployment
ng build --prod --base-href /path/you/will/deploy/to/on/webserver/ (don't forget trailing slash)
copy `dist/rebus-helper` folder contents to your webserver
copy `api/` folder to your webserver#### routing with Apache
add a `.htaccess` file in your webserver folder, with the following content:
```
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) index.html [NC,L]
```