GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devopshobbies/gitlabci-tutorial: We are creating this repo for learning gitlab

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
simple_app
simple_app
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
db.sqlite3
db.sqlite3
 
 
docker-compose.yml
docker-compose.yml
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

GitlabCI Tutorial

This README provides step-by-step instructions on how to set up and run the project.

Prerequisites

Before you begin, ensure you have the following prerequisites installed on your system:

  • Python (>= 3.11)
  • pip (Python package manager)
  • Virtualenv (optional, but recommended)

Getting Started

  1. Clone the repository:

    git clone [email protected]:devopshobbies/gitlabci-tutorial.git
    cd gitlabci-tutorial
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS and Linux:

      source venv/bin/activate
  4. Install project dependencies:

    pip install -r requirements.txt
  5. Apply migrations to create database tables:

    python manage.py migrate
    python maange.py makemigrations
  6. Create a superuser for the Django admin panel:

    python manage.py createsuperuser

Running the Application

  1. Start the development server:

    python manage.py runserver
  2. Open your web browser and go to http://127.0.0.1:8000/ to access the Django application.

  3. Access the Django admin panel at http://127.0.0.1:8000/admin/ and log in using the superuser credentials you created earlier.

Project Structure

  • simple_app/ - Django project directory.
  • app/ - Django app directory (you can have multiple apps).
  • manage.py - Django management script.
  • requirements.txt - List of Python dependencies.
  • docker-compoe.yml - Run the project using the Docker container platform.
  • Dockerfile - Build the project using the Docker container platform.
  • gitlab-ci.yml - CI/CD file using GitlabCI.
  • db.sqlite3 - Default database SQLite, but you can change it.

Contributing

If you would like to contribute to this project, please feel free to contribute.

About

We are creating this repo for learning gitlab

Resources

Readme
Activity
Custom properties

Stars

16 stars

Watchers

3 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.