Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

init_setup.sh 507 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  1. echo [$(date)]: "START"
  2. echo [$(date)]: "creating environment"
  3. conda create --prefix ./env python=3.7 -y
  4. echo [$(date)]: "activate environment"
  5. source activate ./env
  6. echo [$(date)]: "install requirements"
  7. pip install -r requirements.txt
  8. echo [$(date)]: "export conda environment"
  9. conda env export > conda.yaml
  10. echo "# ${PWD}" > README.md
  11. echo [$(date)]: "first commit"
  12. git add .
  13. git commit -m "first commit"
  14. echo [$(date)]: "END"
  15. # to remove everything -
  16. # rm -rf env/ .gitignore conda.yaml README.md .git/
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...