Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organize project #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jamesperes-zz
Copy link

Organize base project with Makefile and update Readme / gitignore to run project

Copy link
Collaborator

@rennerocha rennerocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for you PR. I just added a few comments to improve it.

@@ -2,3 +2,113 @@
*.pyc
local_settings.py
*.db

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Thanks for including this. As this was a project that I used to be the only developer, this didn't bothered me much, but when we have new contributors, it is very helpful to make git easier to use.

@@ -0,0 +1,11 @@
run:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: I don't use this pattern too much (usually I type the entire command), but it may be useful for other developers. I will just suggest that you include a command to run the tests too.

python dojopuzzles/manage.py migrate

update-static-files:
sudo rm -rf staticfiles/* && python manage.py collectstatic
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Why use sudo?

suggestion: Use --clear to clear old static files that are not used anymore.

@@ -24,3 +24,51 @@ Quero ajudar!

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rennerocha/dojopuzzles/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Rodando o projeto!
----------------------
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Keep the - with the same size of the title. It looks better :-)

@@ -24,3 +24,51 @@ Quero ajudar!

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rennerocha/dojopuzzles/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Rodando o projeto!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Please remove the !. Title are already highlighted.

Rodando o projeto!
----------------------

### Requeriments
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Project Requirements would be better.

- Python 3.7
- Django 3

### Instalando a VirtualEnv
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Instead of suggesting a specific tool to create a separated virtualenv, just add a suggestion that it would be a good idea to create a separated virtual environment before installing the project. I use pyenv to manage them for example.


* **Renne Rocha** - *Initial work* - [rennerocha](https://github.com/rennerocha)

### Apoiadores
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: We have more contributors that these two. I would prefer to keep the names out and just add a link to https://github.com/dojopuzzles/dojopuzzles/graphs/contributors (as you did in the end of the section).


* **Renne Rocha** - *Initial work* - [rennerocha](https://github.com/rennerocha)

### Apoiadores
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Contribuidores is better

$ make run
```

## Criador
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Even that I am the creator of the project, I prefer not to have my name on this document. Just remove this section. My name will appear together with other contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants