generated from Fascinated/nextjs-13-template-with-tailwindcss
17 lines
761 B
Markdown
17 lines
761 B
Markdown
|
# NextJS 13 + TailwindCSS + Docker
|
||
|
|
||
|
## Getting Started
|
||
|
|
||
|
1. Clone this repo
|
||
|
2. Run `yarn install` or `npm install`
|
||
|
3. Run `yarn dev` or `npm run dev`
|
||
|
4. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
||
|
|
||
|
## Docker
|
||
|
|
||
|
Ensure you have docker installed on your machine. If you don't have docker and are running Ubuntu, you can install it by following [this](https://docs.fascinated.cc/guides/ubuntu/pages/22_04/install-docker) guide.
|
||
|
|
||
|
1. Copy the files to where you want to run the container or push the project to a repository and clone it.
|
||
|
2. Run `docker compose up -d --build` (rerun this command if you make changes to the project)
|
||
|
3. Open [http://server_ip:3000](http://server_ip:3000) with your browser to see the result.
|