for windows, linux and mac:
-
Install docker and docker-compose using THIS GUIDE
-
Clone our repository:
git clone https://github.com/schrottgerardo/etitango.git
Linux:
- Open a shell.
- Go to the repository path
- Run docker-compose up, you could prefer usng the -d flag:
sudo docker-compose up -d
Windows:
- Open the docker desktop which you installed before.
- Run docker-compose up:
sudo docker-compose up
note: may need more examples in windows? check this [video](https://www.youtube.com/watch?v=_9AWYlt86B8).
- If everything goes well, the site can be visited at
127.0.0.1:8000
-
Q: Changes are not persistent? A: There are, but if is not working, check the
docker-compose.yml
file, you can decomment the volumes. It gonna mount a persisent volume. But take care of others changes can be not works well if the old volume is still up. -
Q: My new app can't migrate! A: For avoid problems, migrations must be explicit. Add your new app to the
docker-entrypoint.sh
file. Take care of dont keep up the old persistent configurations again. -
Q: I registred a new user but is not active, what is happening with the validation emails?
-
A: We lost our email account at etitango.com.ar. So please, add your own email credentials at .env file.
-
Q: Can I active it from the database? A: Of course you can, just connect to it using this command:
sudo docker container run etitango_db_1 bash
then usemysql
as usual and active the flag. -
Q: May I need a administrator account, but there is no admin panel. A: There are not admin panel, and even if you active it, it dont work in that way, yet. You need to use the
data.perms
functions to generate that kind of account. We gonna improve that feature in the future. For now, if you need use that, please read the docs at data py files.
Check this video to learn more about docker in development environments.
Please check this list before commit:
- You must be working in a branch from developer, not from master.
- Merge the master into your branch, so you can be sure that you are not breaking what actually works.
- If everything goes well, you can push your branch.
- Pull request to Master will be check here. Must pass the test.