Skip to content

Commit

Permalink
replace rail msls with django msls. (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Fuqian committed Mar 14, 2022
1 parent 07d3698 commit e3d3bc5
Show file tree
Hide file tree
Showing 14 changed files with 447 additions and 390 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.selenium
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM selenium/standalone-chrome-debug

ENV PYTHONUNBUFFERED 1
USER root
RUN apt-get update && apt-get install -yq python3.7 python3-pip git
RUN apt-get update && apt-get install -yq python3.8 python3-pip git
RUN pip3 install --upgrade pip
RUN pip3 install selenium psycopg2-binary==2.8.6 pyyaml==5.4.1 Pillow==9.0.0
RUN mkdir /code
Expand Down
21 changes: 21 additions & 0 deletions dev-local/manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys


def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mslsx_django.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)


if __name__ == '__main__':
main()
8 changes: 0 additions & 8 deletions dev-local/msls/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions dev-local/msls/go.mod

This file was deleted.

71 changes: 0 additions & 71 deletions dev-local/msls/login_form.go

This file was deleted.

279 changes: 0 additions & 279 deletions dev-local/msls/main.go

This file was deleted.

Empty file.
Loading

0 comments on commit e3d3bc5

Please sign in to comment.