Comments (3)
Howto Install POLR on alpine with Caddy
This isn't a complete doc, but mainly you need to follow directions, except they FAIL. After that, follow manual setup with relevant drirections.
Finally, to add an admin user to the database, you need something like THIS:
INSERT INTO users VALUES(1,'admin','hashtedpw','[email protected]','127.0.0.1','recoverysecret','admin','1',NULL,0,'60','2021-09-20 06:41:11','2021-09-20 06:41:11',NULL);this will NOT work as typed in. to get the hashed password:
php -r "echo password_hash('YOURADMINPASSWORDINTHECLER', PASSWORD_BCRYPT, ['cost' => 8]) . PHP_EOL;"
to get a recovery key:
at /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 100 | head -n 1
To get the valid date:
date '+%Y-%m-%d %H:%M:%S'
Hope this helps someone else.
Thomas
update at /dev/urandom
to cat /dev/urandom
from polr.
Thanks, this helped a lot!
from polr.
You could use my Dockerfile for polr, as it is using alpine as the base: https://github.com/tkaefer/polr/blob/master/Dockerfile
from polr.
Related Issues (20)
- 配合sqlite使用的方法
- Spam Abuse HOT 2
- Install problem HOT 1
- mysql
- Illuminator Missing
- Difficulty installing Polr in shared hosting environment - NotFoundHttpException in Application.php line 425: HOT 5
- Table clicks not working and icon chart on table field(Clicks) not showing up
- Ubuntu 20.04: can't install Polr HOT 2
- Is the project abandonned ? HOT 3
- Priv Escalation, non-upgrade remediation question HOT 3
- Manually updating the Composer deps, where is the inventory located? HOT 1
- Bio link feature
- Pull Request Preview Environments for increasing maintainer productivity
- Redirect to authorization
- How I actually got Polr to install on NGINX & Created the databases & Create an admin user HOT 1
- Pass the desired length of short code in API call
- Suggestion: ability to add a note or metadata to each link for the organization
- Polr fails to render in php8 due to fatal error HOT 2
- Implementation of Custom Pixels/Analytics for Advanced Remarketing Capabilities
- can i run this through local system ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polr.