Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Operation Search
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
adam.fisher1
Operation Search
Commits
408dc356
Commit
408dc356
authored
Jan 17, 2025
by
adam.fisher1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update change layout README.md
parent
9417178d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
33 deletions
+28
-33
README.md
README.md
+28
-33
No files found.
README.md
View file @
408dc356
...
@@ -4,60 +4,55 @@ TODO: Give a short introduction of your project. Let this section explain the ob
...
@@ -4,60 +4,55 @@ TODO: Give a short introduction of your project. Let this section explain the ob
Prerequisites
Prerequisites
Ensure you have the following software installed:
Ensure you have the following software installed:
Python (>= 3.9)
Django (>= 3.2)
Node.js (>= 14)
*
Python (>= 3.9)
npm (>= 6.14)
Git
*
Django (>= 3.2)
Virtualenv (for Python virtual environments)
Setting Up Development Environment
*
Node.js (>= 14)
*
npm (>= 6.14)
*
Git
*
Virtualenv (for Python virtual environments)
***Setting Up Development Environment**
*
1.
Clone the Repository
1.
Clone the Repository
First, clone the repository to your local machine:
First, clone the repository to your local machine:
bash
*
git clone https://gitlab.com/yourusername/operation-search.git
Copy code
cd operation-search
*
git clone https://gitlab.com/yourusername/operation-search.git
cd operation-search
2.
Create a Virtual Environment (for Python)
2.
Create a Virtual Environment (for Python)
To ensure you're working with the correct version of Python and dependencies, set up a virtual environment:
To ensure you're working with the correct version of Python and dependencies, set up a virtual environment:
bash
*
python -m venv venv
Copy code
source venv/bin/activate
*
python -m venv venv
source venv/bin/activate # On Windows: venv
\S
cripts
\a
ctivate
3.
Install Python Dependencies
3.
Install Python Dependencies
Once the virtual environment is activated, install the required Python packages:
Once the virtual environment is activated, install the required Python packages:
bash
*pip install -r requirements.txt*
Copy code
pip install -r requirements.txt
4.
Install Frontend Dependencies
4.
Install Frontend Dependencies
This project uses JavaScript for frontend development. To install the necessary frontend dependencies:
This project uses JavaScript for frontend development. To install the necessary frontend dependencies:
bash
*npm install*
Copy code
npm install
***Building and Deploying the Project**
*
Building and Deploying the Project
1.
Apply Migrations
1.
Apply Migrations
Ensure the database is up to date with the latest schema:
Ensure the database is up to date with the latest schema:
bash
*python manage.py migrate*
Copy code
python manage.py migrate
2.
Collect Static Files
2.
Collect Static Files
Run this command to gather all the static files (CSS, JS, images) into the appropriate folder:
Run this command to gather all the static files (CSS, JS, images) into the appropriate folder:
bash
*python manage.py collectstatic*
Copy code
python manage.py collectstatic
3.
Start the Development Server
3.
Start the Development Server
You can start the Django development server with the following command:
You can start the Django development server with the following command:
bash
*python manage.py runserver*
Copy code
python manage.py runserver
Visit http://127.0.0.1:8000 in your browser to see the application running locally.
4.
Deploy to Production
4.
Deploy to Production
For production deployment, follow your specific cloud deployment instructions (e.g., on Azure). Here is a generic overview of the steps:
For production deployment, follow your specific cloud deployment instructions (e.g., on Azure). Here is a generic overview of the steps:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment