- prerequisite:
- python3.6 (do not use conda, python2.x and python3.7)
- clone repo:
git clone https://github.com/GoatWang/IIIMaterial
- install packages:
pip install -r requirements.txt
- its recommended to install all this packages in the system python3.6 (not virtualenv). All these packages are very popular in the field, and will not conflict to each other.
- if you want to install in the virtualenv, make sure your jupyter is install in the system python3.6. Please refer to this link, and in the venv:
(venv)>>> pip install ipykernel (venv)>>> python -m ipykernel install --user --name=IIIMaterial
- generate practice file:
python practice_generator.py
- start practice
- open practice*.ipynb files in all dirs.
- (optional) modify practice*.ipynb to add the date e,g, practice*_20181123.ipynb. This can make sure the new practice*.ipynb file will not cover old one once you want to generate new practice*.ipynb file
- (optional) open main*.ipynb files to check the answer.
- update: once I have modified the main file, you want to update to your code to you should pull the repo.
- checkout all changes you made in main*.ipynb:
- if all changes are expected to ignore:
git checkout .
- if you want to keep some changes:
git checkout */main*
git checkout latex_generator/latex_generator.ipynb
- Its quite diffcult to solve git conflict in ipython notebook.
- so be sure to checkout the changes on main*.ipyne first.
- if all changes are expected to ignore:
- pull repo:
git pull
- checkout all changes you made in main*.ipynb:
forked from GoatWang/IIIMaterial
-
Notifications
You must be signed in to change notification settings - Fork 0
m061i6/IIIMaterial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Jupyter Notebook 99.8%
- Python 0.2%