Bentch-it is a new way to communicate with your team. It's faster, better organized, and more secure than email.
Rails + Vite + Vue + Pina + tailwind-css
- VueJS
- Ruby 3.0.4
- Ruby on Rails 7
- Postgresql
- Application Server: Puma
- Node 16.10
- Front
- I18n (server side + client side)
- Forms (with progress and error handling)
- Authentication (Devise)
- Pagination (Kaminari)
- Dynamic search filters (Ransack)
- Websockets (ActionCable)
- Bootstrap like grid (using CSS Grid layout)
- Webpacker is now replaced by Vite
- Vuex is now replaced by Pinia to handle state management
Nonetheless, a lot of opinions and conventions from the previous version remain valid, you may have a look at the previous code at master branch
Boostrapping the plumbing for basic stuff can take some time, but once you get the basic it's pretty easy to extend and to get really efficient with Vue + Rails.
git clone [email protected]:arslan-asif-se/BenchIT.git
cd BenchIT
cp .env.example .env
bundle install
yarn install
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed
The MacOS archive for Elasticsearch v8.1.3 can be downloaded and installed as follows:
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.1.3-darwin-x86_64.tar.gz
curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.1.3-darwin-x86_64.tar.gz.sha512 | shasum -a 512 -c -
tar -xzf elasticsearch-8.1.3-darwin-x86_64.tar.gz
cd elasticsearch-8.1.3/
And run ElasticSearch from command line
./bin/elasticsearch
Alternative commands to install and run elasticSearch on MacOS
brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
elasticsearch
If you are using Ubuntu 20.04
follow this link https://ourcodeworld.com/articles/read/1508/how-to-install-elasticsearch-7-in-ubuntu-2004
After installation and running instance of elasticsearch run following command to reindex profiles and Bench Channels
rake searchkick:reindex CLASS=Profile
rake searchkick:reindex CLASS=BenchChannel
rake searchkick:reindex CLASS=ConversationMessage
You can check if instance of elasticsearch is running by using following command
curl http://localhost:9200
foreman start
Hot Module Reloading (HMR) is enabled by default. If you prefer to turn it off, set "hmr" to false in /vite.config.ts.
rails test
yarn test