Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up staging sever #6

Closed
2 of 6 tasks
voter101 opened this issue Apr 20, 2016 · 0 comments
Closed
2 of 6 tasks

Setting up staging sever #6

voter101 opened this issue Apr 20, 2016 · 0 comments
Labels

Comments

@voter101
Copy link

voter101 commented Apr 20, 2016

Description

Our server runs on the II's VPS. Machine has whole environment setup in bare-bone style. It needs some more attention.

Right now everything runs on unattached server process running on the machine. It is not really secure and requires work on automating deploys.

Good thing to think about - do we really need to automate this process? I am not that sure... IMO, just git pulling by hand is enough.

Run server

  1. Enter all@156.17.4.42
  2. Get into var/lib/projektzapisy/zapisy and run nohup python manage.py runserver 0.0.0.0:8000 &
  3. Immediately leave terminal session. Sometimes control may get back to your user

TO DO

Server infrastructure

  • Automate running Django process with proper env
  • Enforce Basic Auth authorization, to restrict access to whole website
  • Ensure, you cannot connect from outside the machine to postgres

CI

  • Setup Jenkins
    • Setup Testing running
    • Setup deploys after commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants