Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
eb1ff24e
authored
Aug 08, 2019
by
Amir Aharon
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add more docs
parent
70dcaec4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
common/docs/knowledgeBase/install-node--npm-yarn.txt
common/docs/knowledgeBase/orientdb-3-migration.txt
common/docs/knowledgeBase/python3-starter.txt
common/docs/knowledgeBase/install-node--npm-yarn.txt
0 → 100644
View file @
eb1ff24e
## install node
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
apt-get install -y nodejs
npm install npm --global
check version:
node -v (or nodejs -v)
npm -v
## install yarn (after node)
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
common/docs/knowledgeBase/orientdb-3-migration.txt
0 → 100644
View file @
eb1ff24e
ORIENT 3 MIGRATION:
[creating the new spatial property and index]
CREATE PROPERTY Entity.loc EMBEDDED OPoint
CREATE INDEX Entity.loc ON Entity(loc) SPATIAL ENGINE LUCENE
update Entity SET location = {"@class": "OPoint","coordinates" : [-83.353095,42.469501]} where @rid='#14:0'
[delete duplicates by id - old database]
delete vertex Entity where id in (select id from (select from (select id,count(*) from Entity group by id) where count > 1))
common/docs/knowledgeBase/python3-starter.txt
0 → 100644
View file @
eb1ff24e
Python 3 starter:
sudo apt install python3 python3-dev python3-pip python3-tk
- create virtual env]
python3 -m venv [my-working-directory]
- activate virtual env
source [my-working-directory]/bin/activate
- install tensorflow
pip3 install --upgrade tensorflow
- in vscode
settings.json :
{
"python.pythonPath": "[path/to/your/venv/bin]"
}
- when existing env:
deactivate
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment