Flask Issues - Project Under Development
Academic Project for Web Programming discipline at Faculdade Nova Roma - FGV
How to run the project?
1. open terminal and direct it to the locations where the web-project is located.
2. Run the below command.
- Clone this repository.
- Create a pipenv with Python 3.7.5
- Enable pipenv => (pipenv shell).
- Install the dependencies.
- Run!!!.
git clone https://github.com/MarceloKabbalah/web-project.git
cd web-project
pip3 install pipenv
pipenv shell
pip3 install -r requirements.txt
python run.py
3. To create new database for the user
- Follow the first step
- Type 'python' in terminal
from app import db
from app.models import User, Post
User.query.delete()
Post.query.delete()
db.session.commit()
exit()
4. To close the debug feature
- Open run.py
- Make 'debug=True' to 'debug=False' in app.run
Contributing
- Faça o fork do projeto (https://github.com/yourname/yourproject/fork)
- Crie uma branch para sua modificação (
git checkout -b feature/fooBar
) - Faça o commit (
git commit -am 'Add some fooBar'
) - Push (
git push origin feature/fooBar
) - Crie um novo Pull Request