GITAPI - NPX INSTALLER
Npx installer for Gitapi
An open source project by the tech coop multi
What does it do ?
This npm package working with npx
allows you to set up Gitapi in your current working directory (cwd).
It clones the latest version of Gitapi from its repo and add it into your cwd.
Use
npx install-gitapi
npx install-gitapi
Before Imagine you have a project folder as follows :
.
├── . (my project directory)
│ ├── my-data
| | ├── csv
| | | └── some_table.csv
| | └── json
| | └── some_json.json
│ ├── .gitignore
│ ├── my-script.py
│ └── README.md
npx install-gitapi && npm i
After .
├── . (my project directory)
│ ├── my-data
| | ├── csv
| | | └── some_table.csv
| | └── json
| | └── some_json.json
│ ├── .gitignore <-- don't forget to add /node_modules
│ ├── my-script.py
│ ├── README.md
│ |
│ | ⬆️ Your files
│ | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
│ | ⬇️ Gitapi files
│ |
│ ├── config-gitapi.yaml <-- you can adapt it to your data folder (./my-data)
│ ├── data-test <-- you can delete once you adapted config-gitapi.yaml
| | ├── csv
| | | └── test.csv
| | └── json
| | └── test-schema.json
│ ├── dist
| | └── index.html
│ ├── example.env <-- you can copy it into your own .env file (optional)
│ ├── gitapi
| | ├── api.js
| | ├── config
| | ├── controllers
| | ├── routes
| | ├── services
| | └── utils
│ ├── gitapi-local.js
│ ├── LICENSE_GITAPI
│ ├── netlify.toml
│ ├── node_modules <-- created after npm i
| | └── ...
│ ├── LICENSE_GITAPI
│ ├── package-lock.json <-- created after npm i
│ ├── package.json
│ └── README_GITAPI.json
NPM
Published on NPM here