dockerized
dockerized copied to clipboard
Boilerplate to start with Docker setup (Next.js included)
🏄 dockerized
📦 Setup
🖥️ Development environment
- Run
git clone https://github.com/KumarAbhirup/dockerized dockerized # to clone project
cd dockerized # enter in the project
docker-compose up
-
Rename all the
.env.exampleto.env. -
Create a
.envfile in the root of the directory. -
Visit
http://localhost:3000/
⚒️ Linting
In VSCode
- Install ESLint and Prettier VSCode extensions.
- Done! Now you have live linting and autofixing setup!
In Any other IDE
- Run
yarn lintin indivisualpackagesto check for linting errors. - Run
yarn lint:fixto fix the linting errors.
🦄 Info
- We are following the micro-services architechture. That means, to install npm modules, you'll have to run
yarn addin the respective packages. - To customize the linter, use
.eslintrcand.prettierrcfile. Learn more
📝 License
MIT © Kumar Abhirup
Created by Kumar Abhirup 👉 .
Peace ✌️