You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add your existing code to directory generated by the NLeSC Python template
2
+
3
+
The following steps requires that your existing code is in a GitHub repository.
4
+
5
+
1. Follow the [instructions to create a new package](https://github.com/NLeSC/python-template#how-to-use) with the Python template, while answering the questions like you would for the existing package.
6
+
7
+
2. Create a Git structure for the new directory: (replace `<NEW_DIRECTORY>` with directory name you used during cookiecutter questionnaire)
8
+
```shell
9
+
$ cd<NEW_DIRECTORY>
10
+
$ git init
11
+
$ git add --all
12
+
$ git commit -m "Added code generated by cookiecutter"
13
+
$ git branch -M main
14
+
```
15
+
16
+
3. Import the existing repository from GitHub (Replace `<ORGANIZATION>` with your GitHub organization name , `<REPOSITORY>` with your GitHub repository name and `<BRANCH>` with your default branch for example `main` or `master`):
0 commit comments