Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

joaopms/noto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noto

Note taking web app

Prerequisites

  • Docker
    • Docker Compose
  • PHP
    • Composer
  • Node.js
    • NPM

How to run

  • Copy config.example.env to config.env and tweak to your liking
  • Bring up the containers with docker-compose up -d
  • Install Laravel with composer create-project --prefer-dist laravel/laravel src/
  • Install and run React with npm run install && npm run dev
  • Configure the Laravel environment file located at src/.env
  • Restart the containers with docker-compose restart
  • Open http://localhost:8080
  • Have fun coding! :D

Database administration with MySQL CLI client

If you don't have MySQL/MariaDB installed on the host, you can use the MySQL CLI client that comes with the database container: docker-compose exec mariadb mysql -u laravel -p

Fixing file permissions

If you ever have problems with file permissions, run fix_perms.sh. This script will make you the owner of database and src directories.

Used Ports

  • 8080: nginx
  • 9000: php-fpm
  • 3306: MariaDB

About

Note taking webapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published