Giter Club home page Giter Club logo

pyxiedust's Introduction

#-----------------------------------------------------------------------------#
# First-time installation
#-----------------------------------------------------------------------------#
# Copy the files for the website:
# Replace YOURNAME by your github account name
git clone [email protected]:YOURNAME/pyxiedust.git

# Go into the folder that was just created:
cd pyxiedust

# Create the "virtual environment" for python (called "myvenv") here
python3 -m venv myvenv

# Activate the "virtual environment"
# Windows:
myvenv\Scripts\activate
# Other:
source myvenv/bin/activate

# Install everything we need:
pip install -r requirements_local.txt

# Prepare the link to heroku so we can put our website online later:
# Replace YOURNICKNAME by your heroku nickname (ask Baptiste)
git remote add heroku [email protected]:pxd-YOURNICKNAME.git
# Log in to heroku
# If you don't have a heroku account, ask a coach.
heroku login
#-----------------------------------------------------------------------------#



#-----------------------------------------------------------------------------#
# How to start the website on your computer
# Make sure the "virtual environment" is activated first
python manage.py runserver
#-----------------------------------------------------------------------------#



#-----------------------------------------------------------------------------#
# How to upload the site online
#-----------------------------------------------------------------------------#
# Take a look at what has changed (you can run this as many times as you want):
git status
# Prepare to save all the changes to "git"
git add -A .
# Check what will be saved (if there are things you don't want there, ask a coach)
git status
# Save all the changes for real this time (you can type any message you want, like "changed my picture")
git commit -m "Here you can describe what you changed."
# Finally, upload the new version online
git push heroku master
# If you want (not necessary), you can save your changes on GitHub
# (that way, you can start the project from another computer for example)
git push origin master
#-----------------------------------------------------------------------------#

pyxiedust's People

Contributors

bmispelon avatar olasitarska avatar

Watchers

 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.