diff --git a/.gitignore b/.gitignore index 68184110..945f8211 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ .DS_Store build hpcore.dir -.vscode **/Makefile **/CMakeCache.txt **/cmake_install.cmake diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..ba9207ff --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "gnu17", + "cppStandard": "gnu++17", + "intelliSenseMode": "linux-gcc-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/README.md b/README.md index 95701bcd..21675495 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A C++ version of hotpocket designed for production envrionments, original protot * Boost Stacktrace - https://www.boost.org ## Setting up Hot Pocket development environment -Run the setup script located at the repo root (tested on Ubuntu 18.04). +Run the setup script located at the repo root (tested on Ubuntu 20.04). ``` ./dev-setup.sh ``` diff --git a/dev-setup.sh b/dev-setup.sh index 4a40ca3e..d5b06ab8 100755 --- a/dev-setup.sh +++ b/dev-setup.sh @@ -96,7 +96,7 @@ sudo apt-get install -y jq curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get install -y nodejs # ncc build utility for nodejs compiled builds. -npm i -g @vercel/ncc +sudo npm i -g @vercel/ncc # Update linker library cache. sudo ldconfig