- clone repo to local
- go to project root directory
- create
.env.localfile - override
.envvariables in.env.localfor your environment - run
npm install - run
npm start - start hacking
⚠️ Before "git push" runnpm run lintand make sure there are no errors
npm start- Runs the app in the development mode.npm run build- Builds the app for production to thebuildfolder.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 --versiongit clone [email protected]:3v-workspace/DataOcean.git
cd DataOcean
npm installserver {
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/