Skip to content

goudete/Cargoful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Layout: The project is made up of three django apps: authorization, trucker, and shipper.

authorization contains everything related to the registering and logging in and out of users.

trucker contains everything that has to do with the trucker side

shipper contains everything that has to do with the shipper side

How to clone and run:

  1. pull from github

  2. create .env file in src directory

    • add SECRET_KEY=[insert secret key here]
    • add DEBUG=on
  3. Create and activate virtual environment

    • go into project directory
    • to create:
      • Mac: 'python3 -m venv venv'
      • Windows: 'py -m venv venv'
    • to activate:
      • Mac: 'source venv/bin/activate'
      • Windows: '.\venv\Scripts\activate'
    • download packages:
      • pip install -r requirements.txt
      • note on Mac: may get an error trying to install mysqlclient. If this error persists, delete the line in requirements.txt that says 'mysqlclient==1.4.6'
  4. Run Server

    • move into 'src' folder
    • type into command line:
      • Mac: 'python manage.py runserver'
      • Windows: 'py manage.py runserver'
    • copy and paste http address returned from command line into browser

Now that the local server is up and running, these are the current working urls:

/accounts/login /register /shipper /trucker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published