The objective of ORA is to create data procedurally that can be used to create temporary databases or used directly in testing front-end and mobile applications, the ease comes from using Docker for this, the front-end and mobile developer will have a tool simulating the back-end without having to master a lot of knowledge to do so.
At the moment ORA is still in the prototyping and development phase, we are testing concepts and usability, but feel free to contribute and suggest improvements.
- python3.10+
This application is being developed aimed at being used in a Docker container (you can install and use it directly on your machine if you want, we will leave a step-by-step guide below on how to do this), if you don't have installed on your machine, do you can download docker here.
This command will use the project's DockerFile to create a docker image of the project.
docker build -t ora:latest .
If you don't know about Docker images, you can learn more by clicking here.
With our project image created, we can create and run our container. Use the command below to do this.
docker run -d -p8080:8080 --name ora ora:latest
If you are not familiar with Docker containers, you can learn more by clicking here.
You can use the command "docker stats" in the terminal or directly open localhost on port 8080
docker stats
If everything went well, our application is up and running! ^^
It is a common case of having to access the application container prompt to configure some things or run tests, to do this simply execute the command below:
docker exec -it ora /bin/sh
First you need to install python (we recommend use python3.10+). Do you can download and install by clicking here
In the clone folder, create a python virtual environment with the following command:
Linux
python3 -m venv venv
Windows
python -m venv venv
To activate our venv just write this command in the terminal:
Linux
source venv/bin/activate
Windows
cd venv/Scripts/
activate
Once you are in the virtual environment, run the following command to update pip:
Linux
python3 -m pip install --upgrade pip
Windows
python -m pip install --upgrade pip
After that, go back to the directory where the "manage.py" file is located and run the following commands:
pip install requirements.txt
If all the steps were followed correctly, we can now start our application.
- First let's do our migrate:
python manage.py mikemigrations
python manage.py migrate
- After migrations we can run the runserver command on port 8000:
python manage.py runserver 8000
This project is still under development, instructions may be missing that will be added in the future.