Git Product home page Git Product logo

writtter's Introduction

Writtter

Note: you cannot run the project simutaneously on the front and the back without cloning the project in two different folder.

Run the back

You will need to have MySQL installed on your machine and started.

Locally:

git clone [email protected]:g-ongenae/writtter.git

# Go to the back branch
git checkout master

# Install dependencies
npm install

# Launch the app
npm start

## Or to run in development mode (relauch on modification)
npm run dev

Run the front

Locally:

# Go to the Front branch
git checkout front

# Install dependencies
npm install

# If you don't launch a local back-end
# you will need to comment the Config.js base url to the local back end 
# and use the remote (production one, not safe for a real case, but here it doesn't matter).

# Start the app
npm start

# Open your favorite browser
open https://localhost:8080

Run Test

# Back
git checkout master
npm install
npm test

# Front
git checkout front
npm install
npm test

Deploy

To deploy, we use Heroku and GitHub Pages.

Back end deployment process:

# Go the back end branch
git checkout master

# make your modification on the back and commit them
git commit -a -m "Modify this..."

# Push and deploy them to the server
git push heroku master

Front end deployment process:

# Go to the front end branch
git checkout front

# make your modification on the front and commit them
git commit -a -m "Modify this..."

# Push and deploy them to the server
npm run deploy

writtter's People

Contributors

g-ongenae avatar dependabot[bot] 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.