QUATI Beamline [1] Data Library for storing XAS spectra and make it accesible to the users.
This project was developed initially in 2023 by Anailson Santos Silva as a research project during his participation in the 30th Summer Scholarship Program (PBV30) at the Brazilian Synchrotron Light Laboratory (LNLS) part of the National Center for Research in Energy and Materials (CNPEM) located in Campinas, São Paulo - Brazil.
The idealizers of this database and the website were PhDs Santiago José Alejandro Figueroa (LNLS/CNPEM), James Moraes de Almeida (ILUM/CNPEM) and the Engineer Igor Ferreira Torquato (LNLS/CNPEM).
[1] https://doi.org/10.1016/j.radphyschem.2023.111198
Create an python3 vitual environment, activate it and install the dependencies:
> python3 -m venv csvenv
> source csvenv/bin/activate
> python3 -m pip install django~=4.2
> python3 -m pip install pandas lmfit plotly chardet keyboard
Clone the repository.
Configure the project:
> cd Cruzeiro-do-Sul-Database/cruzeiro_do_sul_db/
> python3 manage.py makemigrations database
> python3 manage.py migrate database
> python3 manage.py makemigrations
> python3 manage.py migrate
Create a superuser (optional):
python3 manage.py createsuperuser
Run the server:
> python3 manage.py runserver
Access the website at address http://127.0.0.1:8000/
.
Alternatively, to make website visible at the local network, run the command:
> python3 manage.py runserver 0.0.0.0:8000