Commit 651d9a85 authored by Nabhan Abdulla P V's avatar Nabhan Abdulla P V 💬
Browse files

[Frontend/] Add setup script

parent 1a55445c
# Store workspace public IP to config file
IP_VAR="$(curl http://checkip.amazonaws.com/)"
CONFIG='{"workspaceIp": "'"$IP_VAR"'"}'
echo $CONFIG > src/ipConfig.json
# CRIO_SOLUTION_AND_STUB_END_MODULE_LOGIN
# Install project dependencies
rm -rf ~/node_modules
rm -rf node_modules
rm -rf ~/.npm
rm package-lock.json
mkdir -p ~/node_modules
ln -s /home/crio-user/node_modules $PWD/node_modules
npm install
npm start
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment