- After pulling repo, run bundle install
- Change the name of "/config/application.yml.example" to application.yml
- You need to install docker, after installing docker, run mysql docker containers using this command docker compose up -d
- Run migration rails db:migrate
- Install webpacker rails webpacker:install
- Note: Enter "n" to skip configuration overwrite
- If you have issues with webpacker, try using an older version of node, currently working using node v16.20.1
- Create fake data seed rake create_fake_data
- This creates categories and posts data
- Run webpack server bin/webpack-dev-server
- Run application rails s
- Access localhost http://127.0.0.1:3000/ or the generated url and port after running rails s
Create Post ( Can save post as draft to not include in home page list )