content-tx-sdk
v0.0.0-experimental-d17df920bbe8-20240506
Published
Make the pre-requisites are working before running the setup instructions. Ruby can be setup using rvm or asdf (Both of them tested and working). Make sure that openssl is installed correctly before attempting to intall Ruby.
Downloads
4
Readme
README
Make the pre-requisites are working before running the setup instructions. Ruby can be setup using rvm or asdf (Both of them tested and working). Make sure that openssl is installed correctly before attempting to intall Ruby.
Pre-requisites
- Ruby version 3.2.2
- Rails version 7.1.3
- Postgres server version 13 or above.
- Node version 16 or above.
Setup Instructions
Run the following steps to get your app setup and running
bundle install
rake db:migrate
npm install -g yarn
yarn install
Next to start the server
./bin/dev
The above command will start the rails server along with creating frontend watch server in the background.
Adding npm modules
- The build uses esbuild. Not Webpack.
- Run yarn add to add npm modules
- Run yarn install to install the module.
Note
- No need to include webpacker gem or any webpack modules in npm.
- The build scripts are given in the package.json file under scripts key.