GitXplorerGitXplorer
i

todolist

public
1 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
431348c8e0449170a2d7425a5de7322943f8ca5c

fixed redirect in controller

committed 7 years ago
Unverified
ffb8dc2927d865e570a12799d1bb7a5611c66e5a

update readme

committed 7 years ago
Unverified
832c67a56cc8b78a3ed5974032a36cf9b5d7cbcc

some more styling, cleanup, debug, set initial db data

committed 7 years ago
Unverified
a5a85cc8402bbb1c9dfe5c65f3d1c9a51c0a3792

remove postgres data folder

committed 7 years ago
Unverified
d0a404d3408a6a1664f6258615db76f109b9f0fa

style the twigs

committed 7 years ago
Unverified
e77b1bb7541201bfbd9f7ad68eb9118370d674a5

fix issue with postgres data dir

committed 7 years ago

README

The README file for this repository.

Todo list

Setup

- app: symfony 3.4
- nginx
- php7
- postgresql

Install

Cd to a dir and download the repository:
git clone https://github.com/marja-menge/todolist.git

Edit .env to your needing (espacially ports if needed).

Install docker and docker-compose if not already there.

Cd to downloaded dir /todolist and run it: /todolist$ docker-compose up.

Open a second terminal and activate app environment: /todolist$ docker exec -i -t todolist.php /bin/bash

From here you have access to yarn, composer/npm, php bin commands. Installed commands for compiling (see package.json):

  • dev@xxx:~$ yarn run dev
  • dev@xxx:~$ yarn run watch
  • dev@xxx:~$ yarn run prod

Important: the first time you run the app with docker-compose up bring it down to avoid db errors.
So bring it up and then:

  • /todolist$ docker-compose down >> bring it down to avoid db errors
  • /todolist$ docker-compose up >> bring it up again and you should be all set

After that it's also wise to clear the cache:

  • /todolist$ docker exec -i -t todolist.php /bin/bash
  • dev@xxx:~$ php bin/console cache:clear >> clear the cache

To see the app running; go to browser url: http://127.0.0.1:8084/


Important note
Be aware of the fact that almost all .gitignore files are renamed to .gitignore-orig. This is done to get a complete working app from the first pull, including scripts and database. If you are planning on using git your self, you should rename them all back to .gitignore.