Skip to content

A Django-based web application for managing all things IEEE NITK!

Notifications You must be signed in to change notification settings

imApoorva36/corpus

 
 

Repository files navigation

IEEE NITK Corpus

pre-commit.ci status

A Django based web application to manage all things IEEE NITK.

Setup Instructions

  1. Run the following command to create a copy of the environment file. Change the environment variables as necessary in the copied file.
cp env.example .env
  1. In another terminal window, run docker compose
docker compose up

If you have already built the project before, you should rebuild it before getting the services up. Use the following for the same:

docker compose up --build

Note: Auto-reload for Tailwind on Windows only works on WSL, and not on the Windows filesystem. If you are using the Windows filesystem, you'll have to manually restart the jstoolchain container.

To stop the containers, just bring the services down.

docker compose down

To remove all the previous data as well, you will have to remove the volumes too. You can do that by appending -v to the down command.

For more guidance, refer to the Docker Compose documentation.

Production Setup

For production setup, use the production docker compose file.

npx tailwindcss -i ./templates/static/css/tailwind.css -o ./templates/static/css/tailwind-min.css --minify
docker compose -f prod-docker-compose.yml up --build

Contributing

Refer to the contribution guidelines for more information about how to set the project locally for development and contribution.

--- Made and maintained by the Corpus team, IEEE NITK ---

About

A Django-based web application for managing all things IEEE NITK!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 66.7%
  • Python 32.3%
  • Other 1.0%