- tax form #230 made easy
- digital solution for an offline process
- as simple and as efficient as possible
- helps you compare and choose who to support
- helps NGOs reach their public and keep track of their supporters
Contributing | Built with | Feedback | License | About Code for Romania
This project is built by amazing volunteers, and you can be one of them. Here's a list of ways in which you can contribute to this project. If you want to make any change to this repository, please make a fork first.
Help us out by testing this project in the staging environment. If you see something that doesn't quite work the way you expect it to, open an Issue. Make sure to describe what you expect to happen and what is actually happening in detail.
If you would like to suggest new functionality, open an Issue and mark it as a [Feature request]. Please be specific about why you think this functionality will be of use. If you can, please include some visual description of what you would like the UI to look like if you’re suggesting new UI elements.
- Backend: Python3.12
- HTML + TailwindCSS + AlpineJS
The project has been configured to work with the following databases:
- Python 3.12
- NVM
- a PostgreSQL 16.2 database (can be run with Docker)
- Go to the root of the project
- Run
cp .env.example .env
to create the environment file - Set up the Node.js environment
- Go to the
backend
directory - Run
nvm use || nvm install
to install the Node.js version specified in the.nvmrc
file - Run
npm install
to install the Node.js dependencies
- Go to the
- Set up the Python environment
- Create a virtual environment and activate it with
python3 -m venv venv && source venv/bin/activate
- Go to the
backend
directory - Run
pip install -r requirements-dev.txt
to install the Python dependencies
- Create a virtual environment and activate it with
- Run the Django project in one terminal
- Go to the
backend
directory - Run
source venv/bin/activate
to activate the Python virtual environment - Run
django-admin runserver localhost:8000
to start the Django development server
- Go to the
- Run the frontend in another terminal
- Go to the
backend
directory - Run
nvm use
to use the Node.js version specified in the.nvmrc
file - Run
npm run dev
to start the frontend development server
- Go to the
Go to the root of the project and run the following commands:
pushd backend/
nvm use --lts || nvm install --lts
npm i -g less@2.7.3 less-plugin-clean-css@1.5.1 bower@1.8.14
bower install
cp -r bower_components/ static_extras/
pushd static_extras/
lessc css/main.less > css/main.css --clean-css="--s1 --advanced --compatibility=ie8"
rm -rf bower_components/
popd
popd
or, in a one-liner:
pushd backend/ && nvm use --lts || nvm install --lts && npm i -g less@2.7.3 less-plugin-clean-css@1.5.1 && cp -r bower_components/ static_extras/ && pushd static_extras/ && lessc css/main.less > css/main.css --clean-css="--s1 --advanced --compatibility=ie8" && rm -rf bower_components/ && popd && popd
- Go to the root of the project
- Run
cp .env.example .env
to create the environment file - Run
make run
to start the containers with an PostgreSQL database - Open http://localhost:8080 in your browser
- Request a new feature on GitHub.
- Vote for popular feature requests.
- File a bug in GitHub Issues.
- Email us with other feedback contact@code4.ro or on redirectioneaza@code4.ro.
This project is licensed under the MPL 2.0 License — see the LICENSE file for details
Started in 2016, Code for Romania is a civic tech NGO, official member of the Code for All network. We have a community of around 2.000 volunteers (developers, ux/ui, communications, data scientists, graphic designers, devops, it security and more) who work pro bono for developing digital solutions to solve social problems. #techforsocialgood. If you want to learn more details about our projects visit our site or if you want to talk to one of our staff members, please e-mail us at contact@code4.ro.
Last, but not least, we rely on donations to ensure the infrastructure, logistics and management of our community that is widely spread across 11 timezones, coding for social change to make Romania and the world a better place. If you want to support us, you can do it here.