dailydotdev / docs

The official product docs of daily.dev
https://docs.daily.dev
GNU Affero General Public License v3.0
339 stars 182 forks source link
developer-tools documentation docusaurus hacktoberfest productivity

📝 The official daily.dev Documentation

The daily.dev docs are designed to help our community members get the most out of the product. Hope you will find it useful! We welcome your contribution to help us make it better and up-to-date 💜

👨‍💻 Contributing

💻 Development

  1. Fork the project: Click the gray Fork button in the top right of this page. This creates your copy of the project and saves it as a new repository in your github account
    1. Click on the green Code button, then either the HTTPS or SSH option and, click the icon to copy the URL. Now you have a copy of the project. Thus, you can play around with it locally on your computer.
    2. Run the following commands into a terminal window (Command Prompt, Powershell, Terminal, Git Bash, ZSH):

Do this to download the forked copy of this repository to your computer:

git clone https://github.com/dailydotdev/docs.git

Step into the directory:

cd docs

Ensure you are on the correct node version:

nvm use

Install the dependencies:

# with npm
npm i

# or with yarn
yarn

# or with pnpm
pnpm i

Run the local dev environment:

# with npm
npm run start

# or with yarn
yarn start

# or with pnpm
pnpm start

Now Visit:

http://localhost:3000

🚀 Deployment

# with npm
npm run build

# or with yarn
yarn build

# or with pnpm
pnpm build
# with npm
npm run serve

# or with yarn
yarn serve

# or with pnpm
pnpm serve

The server is available by default on port 3000.

🐳 Deployment with Docker

From the folder where the docker-compose.yml file is located, type:

docker compose up --build

The server is available by default on port 3000.

🍿 Test

docker run -p 3000:3000 francescoxx/dailydev-docs:0.9.3

🙏 Thanks to all Contributors

Thanks a lot for spending your time in helping daily.dev grow. Thanks a lot! ❤️

Contributors to daily.dev docs

📑 License

Licensed under AGPL-3.0.

⭐️ One more thing

Don't forget to leave us a star ⭐️