Skip to content

Latest commit

 

History

History
87 lines (52 loc) · 1.57 KB

readme.md

File metadata and controls

87 lines (52 loc) · 1.57 KB

Stack server setup guide

This guide will walk you through setting up and running a Django web application.

Installation

  1. Clone the repository:

    git clone <repository_url>
  2. Navigate to the project directory:

    cd <project_directory>
  3. Create a virtual environment (optional but recommended):

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

    • On Windows:

      venv\Scripts\activate
    • On macOS and Linux:

      source venv/bin/activate
  5. Install dependencies:

    pip install -r requirements.txt

Database Setup

  1. Run migrations to create database schema:

    python manage.py makemigrations
    python manage.py migrate
  2. (Optional) Create a superuser for accessing the Django admin interface:

    python manage.py createsuperuser

Running the Application

To start the development server, run:

python manage.py runserver <port-number>

The application should now be accessible at http://localhost:8000.

Usage

Deployment

For deploying the application to a production environment, refer to the Django Deployment Documentation.

Client

https://github.com/gzukowski/asm/tree/main/simulators/stack-sim-online