Code Monkey home page Code Monkey logo

env-compare-rest's Introduction

This project uses Python3.9

Install

  • Install venv (Use the "python" or "python3" command. If neither work, use "python3.9")
python3.9 -m venv ./venv
  • Enter the virtual env
. venv/bin/activate
  • Install python dependencies
pip install -r requirements.txt
  • Install serverless globally using npm
npm install -g serverless
  • Install project dependencies (serverless plugins)
npm install
  • Create .env.local file with the environment variables
cp .env.example .env.local

Run project

  • Run the project locally
sls wsgi serve --stage local
# Add [-p NUMBER] to change the port
  • Deploy to AWS (This will require a .env file with the stage [Example, .env.dev])
sls deploy

# Or specifying the stage: dev, prod, etc
sls deploy --stage dev --verbose 

Other commands

  • Update requirements.txt
pip freeze > requirements.txt
  • Remove the project from AWS by stage
sls remove --stage dev

env-compare-rest's People

Contributors

ftapiat avatar

Stargazers

 avatar  avatar

Watchers

 avatar

env-compare-rest's Issues

Remove unnecessary code

  • property serialized and static method from_dict are no longer needed with the use of Marshmallow Schemas

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.