GithubHelp home page GithubHelp logo

venecaat / evangelion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xkeiro/evangelion

0.0 0.0 0.0 31.88 MB

Home Page: evangelion-seven.vercel.app

JavaScript 25.31% Python 35.45% CSS 12.59% Jinja 26.66%

evangelion's Introduction

Requirements to run the website:

Install latest:

-> In PostgreSQL create a user, password and a database, remember these. (You can use pgAdmin4 for a graphical interface which comes with your installation)

-> Clone the repository.

-> pip install -r requirements.txt

In pycharm:

-> Setup your run configuration like this: run configuration

-> Set up your environment variables:

FLASK_APP=server.py
FLASK_DEBUG=1
MY_PSQL_DBNAME=<your_db_name>
MY_PSQL_USER=<your_username>
MY_PSQL_HOST=localhost
MY_PSQL_PASSWORD=<your_password>

-> Add the database

-> Run the database schema: ./data/db_schema.sql


Database setup script:

:: Setup PostgreSQL
:: Superuser: postgres
:: Remember the superuser password on setup
:: Add the PostgreSQL/bin to PATH
:: Open a command prompt in the top of the repo
:: Run:
    :: psql -U postgres
:: Enter the password
:: Run:
    :: CREATE USER test WITH PASSWORD 'test';
    :: CREATE DATABASE testdb WITH OWNER test;
    :: \i data/db_schema.sql

@echo off
set MY_PSQL_DBNAME=%1
set MY_PSQL_USER=%2
set MY_PSQL_HOST=localhost
set MY_PSQL_PASSWORD=%3

flask --app .\server.py run
.\start.bat testdb test test

evangelion's People

Contributors

xkeiro avatar venecaat avatar nexie12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.