- clone repo to local
- go to project root directory
- create
.env.local
file - override
.env
variables in.env.local
for your environment - run
npm install
- run
npm start
- start hacking
⚠️ Before "git push" runnpm run lint
and make sure there are no errors
npm start
- Runs the app in the development mode.npm run build
- Builds the app for production to thebuild
folder.npm run lint
- Linting code. Check for errors and warnings.npm run fix
- Linting code and fix most errors. Output - unresolved errors.
REACT_APP_API_BASE_URL
- backend host name. For example:https://ipa.dataocean.us
I recommend using github deploy keys
sudo apt update
sudo apt -y upgrade
sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt -y install nodejs
sudo apt -y install gcc g++ make
# check installation
node --version
npm --version
git clone [email protected]:3v-workspace/DataOcean.git
cd DataOcean
npm install
server {
server_name <here_domain_name>;
root /<path_to_project>/DataOcean/build;
index index.html;
location / {
try_files $uri /index.html = 404;
}
}
For upgrade you need run only upgrade.sh
sh upgrade.sh
- Platform: https://dataocean-dp.ml/
- Landing page: https://dataocean.ml/