Skip to content

Commit

Permalink
Adding folders (data, docs, models, notebooks, reports, src) to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
fatou1526 committed Sep 19, 2023
1 parent 1339655 commit 17d9832
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ def generate_project_tree():
gitignore.write(gitignore_content)



# Création de l'arborescence du projet
os.makedirs('data/cleaned')
os.makedirs('data/processed')
os.makedirs('data/raw')
os.makedirs('docs')
os.makedirs('models')
os.makedirs('notebooks')
os.makedirs('reports')
os.makedirs('src')


# Initialisation du dépôt Git
Expand All @@ -32,7 +40,7 @@ def generate_project_tree():
subprocess.run(['git', 'add', '.'])

# Commit des fichiers ajoutés
subprocess.run(['git', 'commit', '-m', 'Initial commit'])
subprocess.run(['git', 'commit', '-m', 'Adding folders (data, docs, models, notebooks, reports, src) to the repo'])

# Push des fichiers créer
subprocess.run(['git', 'push', 'origin', 'branche-1'])
Expand Down

0 comments on commit 17d9832

Please sign in to comment.