Create secret notes that will self-destruct after being read.
- Project demo is on secretic.app.
- Secretic is an open source alternative to privnote.com
When you pull this project to another computer that has no PHP or Composer installed, you cant run sail
command
because there is no vendor folder.
Solution is https://laravel.com/docs/9.x/sail#installing-composer-dependencies-for-existing-projects
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/opt \
-w /opt \
laravelsail/php81-composer:latest \
composer install --ignore-platform-reqs
Instead of repeatedly typing vendor/bin/sail
to execute Sail commands, you may wish to configure a Bash alias:
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
Copy the environment settings:
cp .env.example .env
And replace DB_HOST
to mysql
in .env
(for local development).
After that just run the command:
sail up -d
sail artisan migrate:fresh --seed
And open http://127.0.0.1 in your favorite browser. Happy using Secretic!
To remove all images and volumes, just run:
sail down --rmi all -v
The deployment process is described in the file DEPLOY.md
If you find any package errors, please, make an issue in current repository.
This is open-sourced software licensed under the MIT License.